Commit 0aeb1c7
committed
performance-test.yml: parallelise Connectivity Tests via pytest-xdist
The 5 connectivity test files in step #8 are pytest-style,
integration-marked, share no in-process fixtures, and hit the live
upstream which advertises max_concurrent=40 on /status. SOLR cache
writes are idempotent, so concurrent cold workers on the same
term_id produce identical writes — no corruption.
Adds `pip install pytest-xdist` to the install step and `-n auto`
to both initial and retry pytest invocations. GitHub-hosted ubuntu
runners typically expose 2-4 cores, so wall time on this step
drops to ~30-50% of the sequential run.1 parent c9d29dc commit 0aeb1c7
1 file changed
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
| |||
96 | 100 | | |
97 | 101 | | |
98 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
99 | 109 | | |
100 | 110 | | |
101 | | - | |
102 | | - | |
| 111 | + | |
| 112 | + | |
103 | 113 | | |
104 | 114 | | |
105 | 115 | | |
| |||
113 | 123 | | |
114 | 124 | | |
115 | 125 | | |
116 | | - | |
| 126 | + | |
117 | 127 | | |
118 | 128 | | |
119 | 129 | | |
| |||
0 commit comments