Commit 54fbc5f
committed
fix(main): attempt to resolve macOS CI race condition
When running sequential PDF exports, macOS CI runners frequently throw a `SessionNotCreatedException` during driver creation. I noticed that subseqeunt tests run without issue.
Hypothesis: The OS kernel requires additional time to release TCP ports and IPC locks from the previous headless Chrome instance before a new one can successfully bind.
This commit attempts to fix the flakiness by introducing a 3-attempt retry loop with a 1-second delay in-between attempts.1 parent 51da8e3 commit 54fbc5f
1 file changed
+19
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
481 | 482 | | |
482 | 483 | | |
483 | 484 | | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
488 | 503 | | |
489 | 504 | | |
490 | 505 | | |
| |||
0 commit comments