-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Commit 3ce086a
test: improve stability of strategy tests
The strategy tests are extremely time-sensitive with regards to the RxJS
job logic executing, and the tests currently rely on `setImmediate` to
flush/trigger job execution. This seems to be rather unstable via Remote
execution, and sensitive to changes with the execution (e.g. injecting
source map support or not), so we are stabilizing the tests further by
having better time delays for job execution, and by using `setTimeout`
for flushing. This seems very sufficient.1 parent 2114f02 commit 3ce086a
1 file changed
+7
-7
lines changedLines changed: 7 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 | - | ||
9 | + | ||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 | - | ||
16 | + | ||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 | - | ||
40 | + | ||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
| |||
94 | 94 |
| |
95 | 95 |
| |
96 | 96 |
| |
97 | - | ||
97 | + | ||
98 | 98 |
| |
99 | 99 |
| |
100 | 100 |
| |
| |||
114 | 114 |
| |
115 | 115 |
| |
116 | 116 |
| |
117 | - | ||
117 | + | ||
118 | 118 |
| |
119 | 119 |
| |
120 | 120 |
| |
| |||
179 | 179 |
| |
180 | 180 |
| |
181 | 181 |
| |
182 | - | ||
182 | + | ||
183 | 183 |
| |
184 | 184 |
| |
185 | 185 |
| |
| |||
254 | 254 |
| |
255 | 255 |
| |
256 | 256 |
| |
257 | - | ||
257 | + | ||
258 | 258 |
| |
259 | 259 |
| |
260 | 260 |
| |
|
0 commit comments