VECTR icon indicating copy to clipboard operation
VECTR copied to clipboard

Add delay between test case and cleanup

Open zaicurity opened this issue 2 years ago • 1 comments

Hello, As mentioned in https://github.com/SecurityRiskAdvisors/VECTR/issues/227 I would like to suggest adding a short delay between test case execution and cleanup execution within the runtime. The purpose would be to prevent issues with cleanup that may arise when cleanup is executed immediately after the test case. Examples of cleanups that can currently suffer from this are cleanups that terminate processes which were launched by the test case or removal of files that were created.

This could either be a configurable delay similar to how the delay between test cases is implemented or a hard-coded delay of a few seconds. In our testing a two second delay seemed sufficient.

zaicurity avatar May 08 '23 11:05 zaicurity

Agree. I run the cleanup commands manually to get the time to view the evidence of a successful test, such as verifying created files, registery changes etc.

dsolstad avatar Jul 12 '24 11:07 dsolstad