Commit 23e0602
committed
test(core): route qa_ManagedSubGraph sub-scheduler to its own thread pool
qa_ManagedSubGraph deliberately caps the default_cpu pool at 2 threads to mimic the GitHub CI's two-core runner.
Under multiThreaded-over-multiThreaded nesting this becomes a structural deadlock: the outer scheduler holds both slots running its workers, the sub-scheduler dispatches its own poolWorker, no thread is available, and the outer worker stays stuck inside the sub-scheduler block waiting for the sub-scheduler to start.
Register a second 2-thread pool ("sub_scheduler_cpu") and pass its name into the SchedulerWrapper via the `poolName` setting, so the sub-scheduler always has its own slots to spin up in and outer and inner never contend for the same resources.
Signed-off-by: Ralph J. Steinhagen <r.steinhagen@gsi.de>1 parent 6bb83ff commit 23e0602
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
43 | 47 | | |
44 | | - | |
| 48 | + | |
45 | 49 | | |
46 | 50 | | |
47 | 51 | | |
| |||
95 | 99 | | |
96 | 100 | | |
97 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
98 | 109 | | |
99 | 110 | | |
100 | 111 | | |
| |||
0 commit comments