google / testrun

A tool to automate verification of network-based device behavior
Apache License 2.0
23 stars 9 forks source link

Add testrun.log to testing directory and fix bug with monitor #595

Closed jboddey closed 2 months ago

jboddey commented 2 months ago

Attaches the testrun.log file to the testing directory.

Fixes a bug where if you stop a Testrun during the monitor period, but start another Testrun immediately after, the Testrun is randomly cancelled. This is because the monitor period is still running in the background and detects the device interface being disconnected. This PR cancels the monitor sniffer when Testrun is cancelled.