Commit aa54d51
authored
refactor(e2e): drop the dead test sharding from Initialize
Review feedback on kube-logging#2301. The sharding wrapped around t.Parallel was dead and
inverted.
sequence is a per-binary counter and ten of the thirteen suites hold exactly one
test, so localSeq is always 1 in those binaries. With SHARDS=2 that gives
1 % 2 != 0 for shard 0, which skips, against 1 % 2 == 1 for shard 1, which runs:
shard 0 would run nothing and shard 1 everything. Nothing exercised it either
way, because the matrix that would set SHARD and SHARDS is commented out in
e2e.yaml.
E2E_CLUSTERS bounds the concurrency the sharding was reaching for, so this drops
it rather than reworking it to shard on t.Name(), and leaves Initialize as the
bare t.Parallel the suites already expect.
Signed-off-by: Vyncint Ng <115854244+vyncint@users.noreply.github.com>1 parent 8e5a84f commit aa54d51
1 file changed
Lines changed: 0 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
26 | | - | |
27 | 24 | | |
28 | 25 | | |
29 | 26 | | |
| |||
48 | 45 | | |
49 | 46 | | |
50 | 47 | | |
51 | | - | |
52 | | - | |
53 | 48 | | |
54 | 49 | | |
55 | 50 | | |
| |||
58 | 53 | | |
59 | 54 | | |
60 | 55 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 56 | | |
70 | 57 | | |
71 | 58 | | |
| |||
0 commit comments