Commit 0a63595
committed
Do not poll index in
We can't poll the index using `workspace/synchronize` because that elevates the priority of the indexing requests in a non-deterministic order (due to the way `withTaskPriorityChangedHandler` is implemented using polling). If LibB's priority gets elevated before LibA's, then LibB will get prepared first, which is contrary to the background behavior we want to check here
Fixes #2281testTargetsAreIndexedInDependencyOrder
1 parent 6301397 commit 0a63595
1 file changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2633 | 2633 | | |
2634 | 2634 | | |
2635 | 2635 | | |
| 2636 | + | |
2636 | 2637 | | |
2637 | 2638 | | |
2638 | 2639 | | |
2639 | 2640 | | |
| 2641 | + | |
| 2642 | + | |
| 2643 | + | |
2640 | 2644 | | |
2641 | 2645 | | |
2642 | 2646 | | |
2643 | | - | |
| 2647 | + | |
2644 | 2648 | | |
2645 | 2649 | | |
2646 | 2650 | | |
| |||
2656 | 2660 | | |
2657 | 2661 | | |
2658 | 2662 | | |
2659 | | - | |
| 2663 | + | |
2660 | 2664 | | |
| 2665 | + | |
| 2666 | + | |
| 2667 | + | |
| 2668 | + | |
2661 | 2669 | | |
2662 | 2670 | | |
2663 | 2671 | | |
2664 | 2672 | | |
2665 | 2673 | | |
2666 | 2674 | | |
2667 | 2675 | | |
| 2676 | + | |
2668 | 2677 | | |
2669 | 2678 | | |
2670 | 2679 | | |
| |||
0 commit comments