Fix missing argument in database insert

This commit is contained in:
Joshua Boniface 2021-10-02 01:49:47 -04:00
parent 011490bcca
commit 9c7d39d523
1 changed files with 1 additions and 1 deletions

View File

@ -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()