Run Tempest tests serially to improve test repeatability.

Update to run Tempest test serially.  Also update to only run
Tempest API tests if user does not pass in testcase name.

Change-Id: If5832955ceab2f2649375e0283d638725218d505
This commit is contained in:
Catherine Diep 2014-08-28 16:24:59 -07:00
parent bc649a6aa4
commit b2856dcbf0

View File

@ -150,11 +150,13 @@ class RefstackClient:
# Run the tempest script, specifying the conf file and the
# flag telling it to not use a virtual environment.
cmd = (self.tempest_script, '-C', self.conf_file, '-N')
cmd = (self.tempest_script, '-C', self.conf_file, '-N', '-t')
# Add the tempest test cases to test as arguments.
if self.test_cases:
cmd += ('--', self.test_cases)
else:
cmd += ('--', "tempest.api")
# If there were two verbose flags, show tempest results.
if self.verbose > 1: