test/run.sh -j reports "Wrong -j argument"

Bug #1201599 reported by George Ormond Lorch III
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
Low
Alexey Kopytov
2.0
Fix Released
Low
Alexey Kopytov
2.1
Fix Released
Low
Alexey Kopytov

Bug Description

In the new cleaned up test suite/parallel runner, specifying -j gives "Wrong -j argument". This appears to be a result of the test at line 774 in the while getopts loop:
      if [[ ! $OPTARG =~ ^[0-9]+$ || $NWORKERS < 1 ]]

At this point in the script NWORKERS has no value since it was just declared immediately above the loop and autocalc_nworkers has not yet been called.

Related branches

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-886

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.