Repository navigation
Commit e6482f4
authored
Give the nested process chain in ProcessWaitingTests depth-proportional wait budgets (#135608)
Fixes #118977
## Problem
`ProcessWaitingTests.WaitChain` and `WaitAsyncChain` start a four-deep
chain of `RemoteExecutor` processes, and every level waits with the same
`WaitInMS`. The root's wait has to cover the start-up, work and exit of
all four processes while the leaf's covers one, so the root has the
leaf's budget while covering four lifetimes.
## Change
Give each waiter `WaitInMS` per process beneath it: leaf 1×, then 2×, 3×
and 4× at the root.
> [!NOTE]
> This PR was prepared with AI assistance (Anthropic Claude, checked by
OpenAI Codex) at my request. I reviewed the change and the measurements
before opening it.1 parent 0d73c1f commit e6482f4
1 file changed
Lines changed: 12 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
542 | 542 | | |
543 | 543 | | |
544 | 544 | | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
545 | 549 | | |
546 | 550 | | |
547 | 551 | | |
| |||
553 | 557 | | |
554 | 558 | | |
555 | 559 | | |
556 | | - | |
| 560 | + | |
557 | 561 | | |
558 | 562 | | |
559 | 563 | | |
560 | | - | |
| 564 | + | |
561 | 565 | | |
562 | 566 | | |
563 | 567 | | |
564 | | - | |
| 568 | + | |
565 | 569 | | |
566 | 570 | | |
567 | 571 | | |
568 | | - | |
| 572 | + | |
569 | 573 | | |
570 | 574 | | |
571 | 575 | | |
| |||
580 | 584 | | |
581 | 585 | | |
582 | 586 | | |
583 | | - | |
| 587 | + | |
584 | 588 | | |
585 | 589 | | |
586 | 590 | | |
| |||
589 | 593 | | |
590 | 594 | | |
591 | 595 | | |
592 | | - | |
| 596 | + | |
593 | 597 | | |
594 | 598 | | |
595 | 599 | | |
| |||
598 | 602 | | |
599 | 603 | | |
600 | 604 | | |
601 | | - | |
| 605 | + | |
602 | 606 | | |
603 | 607 | | |
604 | 608 | | |
| |||
607 | 611 | | |
608 | 612 | | |
609 | 613 | | |
610 | | - | |
| 614 | + | |
611 | 615 | | |
612 | 616 | | |
613 | 617 | | |
| |||
0 commit comments