Commit c346e50
authored
Deflake the status test of an asynchronous SimulatedLocalJob (#7862)
When SimulatedLocalJob runs asynchronously it may report the initial
READY state right after its creation because the scheduling of the job
and test threads is undefined.
Accept READY as a valid job status.
This avoids flaky test failure on Windows.1 parent 3b03ef6 commit c346e50
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
111 | 114 | | |
112 | 115 | | |
0 commit comments