Skip to content

test: Fix flaky test-vm-timeout-rethrow

The intention of test case is to make sure that timeout property is honored and the code in context terminates and throws correct exception. However in test case, the code inside context would complete before timeout for windows and would sometimes fail. Updated the code so it guarantee to not complete execution until timeout is triggered.

Fixes: #11261 (closed)

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

Merge request reports

Loading