Commit 7806cfe
committed
Fix a nondeterministic test failure of
We fulfilled the `allDocumentsOpened` expectation directly after dispatching the notification to open LibD.swift. This left a very short window in which LibB’s preparation could finish and LibC’s expectation could start before the open notification for LibD.swift was handled, causing an unexpected preparation of LibC.
This fixes the issue first reported as rdar://129698768 and for which I added logging in #1478.testDontStackTargetPreparationForEditorFunctionality
1 parent 3092e0c commit 7806cfe
1 file changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
693 | 693 | | |
694 | 694 | | |
695 | 695 | | |
696 | | - | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
697 | 706 | | |
698 | 707 | | |
699 | 708 | | |
| |||
705 | 714 | | |
706 | 715 | | |
707 | 716 | | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
708 | 720 | | |
709 | 721 | | |
710 | 722 | | |
| |||
0 commit comments