Fix missing argument in database insert
This commit is contained in:
parent
011490bcca
commit
9c7d39d523
|
@ -138,7 +138,7 @@ def run_benchmark(self, pool):
|
|||
|
||||
print("Storing running status for job '{}' in database".format(job_name))
|
||||
try:
|
||||
query = "INSERT INTO storage_benchmarks (job, test_format, result) VALUES (%s, %s);"
|
||||
query = "INSERT INTO storage_benchmarks (job, test_format, result) VALUES (%s, %s, %s);"
|
||||
args = (job_name, TEST_FORMAT, "Running",)
|
||||
db_cur.execute(query, args)
|
||||
db_conn.commit()
|
||||
|
|
Loading…
Reference in New Issue