You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Takes advantage of changes made to isolate test runs to execute as many tests in parallel as possible. For tests that must be run serially, the @serial tag has been added to the beginning of relevant feature file(s).
Signed-off-by: Daniel Franz <dfranz@redhat.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
- Have resource constraints that prevent parallel execution
228
+
- Require exclusive access to a resource
229
+
230
+
To mark a test for serial execution, add the `@Serial` tag:
231
+
232
+
```gherkin
233
+
@Serial
234
+
Feature: TLS profile enforcement on metrics endpoints
235
+
236
+
Scenario: Test TLS configuration
237
+
Given the "catalogd" deployment is configured with custom TLS settings
238
+
...
239
+
```
240
+
241
+
The test runner automatically separates scenarios:
242
+
- Scenarios **without**`@Serial` run concurrently in the first test phase
243
+
- Scenarios **with**`@Serial` run sequentially in a separate serial test phase
244
+
219
245
## Running Tests
220
246
221
247
### Run All Tests
@@ -230,6 +256,15 @@ or
230
256
make test-experimental-e2e
231
257
```
232
258
259
+
Custom godog arguments can be modified by setting the following:
260
+
```bash
261
+
GODOG_ARGS=--godog.tags=@WebhookProviderCertManager make test-experimental-e2e
262
+
```
263
+
264
+
Note that when this is done the `make` target will no longer automatically split the test run into parallel and serial runs, and test execution time may increase. If you wish to add concurrency back into the arguments, it is recommended to also disable the `@Serial` tests:
265
+
```bash
266
+
GODOG_ARGS="--godog.tags=~@Serial --godog.concurrency=100" make test-experimental-e2e
0 commit comments