Bug 1811726 - Nr. of openshift-tests workers should be configurable
Summary: Nr. of openshift-tests workers should be configurable
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Test Infrastructure
Version: 4.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.5.0
Assignee: Jan Safranek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-09 15:48 UTC by Jan Safranek
Modified: 2020-05-15 00:25 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-15 00:25:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift origin pull 24661 0 None closed Bug 1811726: Make parallelism configurable 2020-06-23 09:11:53 UTC

Description Jan Safranek 2020-03-09 15:48:57 UTC
Description of problem:

openshift-tests runs several tests in parallel (in a parallel suite). It is currently not possible to set the parallelism.

During CSI certification (included in openshift-tests binary) some users complain that the parallelism is too high for their small test clusters / storage backends.

Version-Release number of selected component (if applicable):
today's master, 46609de5524c18f5641e11139ae60ff5bc04260f

How reproducible:
always

Steps to Reproduce:
1. openshift-tests run openshift/csi
2. Check nr. of openshift-tests children

Actual results:
10

Expected results:
less, if user wants so

Additional info:
Looks like flag for &opt.Parallelism here would do the trick:
https://github.com/openshift/origin/blob/37890c667f3efbf4b93e7270b1e8d1eeb8ce5e25/cmd/openshift-tests/openshift-tests.go#L270

Comment 3 Steve Kuznetsov 2020-05-15 00:25:15 UTC
Merged but this is not something QE verifies.


Note You need to log in before you can comment on or make changes to this bug.