Commit 41e2c6c
fix: Make FDv1 fallback test more robust against timing issues
The test was flaky on Windows CI because it required exactly 2 listener
calls before signaling success. On the VALID->fallback path, the first
notification from FDv1 init isn't guaranteed to arrive before the
explicit update. Simplified to match the pattern used by the error-path
test: signal on the first listener call and verify the flag key.
Co-Authored-By: mkeeler@launchdarkly.com <keelerm84@gmail.com>1 parent 0424bc8 commit 41e2c6c
1 file changed
Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
270 | 269 | | |
271 | 270 | | |
272 | | - | |
273 | | - | |
274 | 271 | | |
275 | | - | |
276 | | - | |
| 272 | + | |
277 | 273 | | |
278 | 274 | | |
279 | 275 | | |
| |||
282 | 278 | | |
283 | 279 | | |
284 | 280 | | |
285 | | - | |
| 281 | + | |
286 | 282 | | |
287 | 283 | | |
288 | 284 | | |
289 | | - | |
| 285 | + | |
290 | 286 | | |
291 | 287 | | |
292 | 288 | | |
| |||
0 commit comments