Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deflake ScopeTest.WaitIdleFailure by increasing sleep time. (iree-org…
…#17859) This test has flaked a few times: * https://github.com/iree-org/iree/actions/runs/9653016869/job/26624436852#step:5:1882 * https://github.com/iree-org/iree/actions/runs/9716312176/job/26819673196#step:4:18786 ``` [ RUN ] ScopeTest.WaitIdleFailure /work/runtime/src/iree/task/scope_test.cc:225: Failure Value of: iree_task_scope_is_idle(&scope) Actual: true Expected: false [ FAILED ] ScopeTest.WaitIdleFailure (175 ms) [----------] 9 tests from ScopeTest (326 ms total) [----------] Global test environment tear-down [==========] 9 tests from 1 test suite ran. (326 ms total) [ PASSED ] 8 tests. [ FAILED ] 1 test, listed below: [ FAILED ] ScopeTest.WaitIdleFailure 1 FAILED TEST ``` We could instead drop the `EXPECT_FALSE(iree_task_scope_is_idle(&scope));` check entirely. Increasing the sleep time will increase test time regardless of OS scheduler behavior (unlike iree-org#17857 which increased a _timeout_ duration). Signed-off-by: saienduri <saimanas.enduri@amd.com>
- Loading branch information