Bug 1811726

Summary: Nr. of openshift-tests workers should be configurable
Product: OpenShift Container Platform Reporter: Jan Safranek <jsafrane>
Component: Test InfrastructureAssignee: Jan Safranek <jsafrane>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4CC: skuznets
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-15 00:25:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.