Commit 0e3b1e3
committed
acceptance: apply sharding only to the full TestAccept run
TestInprocessMode calls testAccept with a specific singleTest
("selftest/basic"). The shard filter lived in getTests(), so it ran
before singleTest selection and could strip the requested test out of
the shard, failing with "did not match any tests" on every shard that
didn't own selftest/basic.
Move the shard filter into a shardTests helper applied in testAccept
only when singleTest == "", leaving named-test selection unsharded.
Co-authored-by: Isaac1 parent 7397c34 commit 0e3b1e3
1 file changed
Lines changed: 20 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
353 | 357 | | |
354 | 358 | | |
355 | 359 | | |
| |||
510 | 514 | | |
511 | 515 | | |
512 | 516 | | |
| 517 | + | |
| 518 | + | |
513 | 519 | | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
522 | | - | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
523 | 533 | | |
524 | | - | |
525 | 534 | | |
526 | | - | |
527 | | - | |
| 535 | + | |
528 | 536 | | |
529 | 537 | | |
530 | 538 | | |
| |||
0 commit comments