- Notifications
You must be signed in to change notification settings - Fork1.1k
Commit72f58c0
authored
fix: limit test parallelism in
In order to get `make test` to reliably pass again on our dogfoodworkspaces, we're having to resort to setting parallelism.It also reworks our CI to call the `make test` target, instead ofrolling a different command.Behavior changes: * sets 8 packages x 8 tests in parallel by default on `make test`* by default, removes the `-short` flag. In my testing it makes only afew seconds difference on ~200s, or 1-2%* by default, removes the `-count=1` flag that busts Go's test cache.With a fresh cache and no code changes, `make test` executes in ~15seconds.Signed-off-by: Spike Curtis <spike@coder.com>make test (#19465)1 parent8d0bc48 commit72f58c0
2 files changed
+31
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
468 | | - | |
469 | | - | |
| 468 | + | |
| 469 | + | |
470 | 470 | | |
471 | | - | |
| 471 | + | |
472 | 472 | | |
473 | 473 | | |
474 | 474 | | |
475 | 475 | | |
476 | | - | |
477 | | - | |
| 476 | + | |
| 477 | + | |
478 | 478 | | |
479 | | - | |
| 479 | + | |
480 | 480 | | |
481 | 481 | | |
482 | | - | |
483 | | - | |
484 | | - | |
| 482 | + | |
| 483 | + | |
485 | 484 | | |
486 | 485 | | |
487 | 486 | | |
488 | | - | |
489 | 487 | | |
490 | 488 | | |
491 | | - | |
| 489 | + | |
492 | 490 | | |
493 | 491 | | |
494 | 492 | | |
| |||
498 | 496 | | |
499 | 497 | | |
500 | 498 | | |
501 | | - | |
502 | | - | |
| 499 | + | |
503 | 500 | | |
504 | 501 | | |
505 | 502 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
958 | 958 | | |
959 | 959 | | |
960 | 960 | | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
961 | 980 | | |
962 | | - | |
| 981 | + | |
963 | 982 | | |
964 | 983 | | |
965 | 984 | | |
966 | | - | |
| 985 | + | |
967 | 986 | | |
968 | 987 | | |
969 | 988 | | |
| |||
0 commit comments
Comments
(0)