Skip to content

Conversation

@stbenjam
Copy link
Member

Introduce a scheduler that respects test isolation requirements when running tests in parallel. The scheduler manages:

  • Conflicts: Tests declaring the same conflict cannot run simultaneously
  • Taints: Running tests can apply taints that block other tests
  • Tolerations: Tests can declare tolerations to run alongside tainted tests
  • Isolation modes: Tests in different modes have separate conflict namespaces

The Run() method in ExtensionTestSpecs now uses this scheduler instead of a simple channel-based queue, enabling proper isolation between tests.

This scheduler logic was originally developed for origin's openshift-tests and is now shared so both origin and extension binaries can use the same "next test to run" logic.

Introduce a scheduler that respects test isolation requirements when
running tests in parallel. The scheduler manages:

- Conflicts: Tests declaring the same conflict cannot run simultaneously
- Taints: Running tests can apply taints that block other tests
- Tolerations: Tests can declare tolerations to run alongside tainted tests
- Isolation modes: Tests in different modes have separate conflict namespaces

The Run() method in ExtensionTestSpecs now uses this scheduler instead of
a simple channel-based queue, enabling proper isolation between tests.

This scheduler logic was originally developed for origin's openshift-tests
and is now shared so both origin and extension binaries can use the same
"next test to run" logic.

Co-authored-by: xueqzhan <[email protected]>
@openshift-ci openshift-ci bot requested review from jupierce and smg247 November 26, 2025 16:26
@openshift-ci
Copy link

openshift-ci bot commented Nov 26, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: stbenjam

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant