Commit 2d1c079b authored by Sebastien Robin's avatar Sebastien Robin

output the error when something is going wrong in testSQLBench

parent ccd340d4
......@@ -56,6 +56,6 @@ class TestSQLBench(unittest.TestCase):
cwd = mariadb_folder + '/sql-bench/',
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
output, error = process.communicate()
self.assertEquals(0, len(error))
self.assertEquals(0, len(error), error)
self.assertTrue(output.find("Total time: ")>=0)
print output
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment