diff --git a/t/expected/job_usage/no_jobs.expected b/t/expected/job_usage/no_jobs.expected index 06096cf80..a78b142da 100644 --- a/t/expected/job_usage/no_jobs.expected +++ b/t/expected/job_usage/no_jobs.expected @@ -1 +1 @@ -UserID Username JobID T_Submit T_Run T_Inactive Nodes +UserID Username JobID T_Submit T_Run T_Inactive Nodes Project diff --git a/t/scripts/insert_jobs.py b/t/scripts/insert_jobs.py index 8457ec842..92e266299 100644 --- a/t/scripts/insert_jobs.py +++ b/t/scripts/insert_jobs.py @@ -34,7 +34,11 @@ def main(): t_inactive_two_weeks = time.time() - (604861 * 2) # more than 2 weeks old t_inactive_old = time.time() - (604861 * 27) # more than six months old ranks = r = jobspec = "" - insert_stmt = "INSERT INTO jobs VALUES (?, ?, ?, ?, ?, ?, ?, ?)" + insert_stmt = """ + INSERT INTO jobs + (id, userid, t_submit, t_run, t_inactive, ranks, R, jobspec) + VALUES (?, ?, ?, ?, ?, ?, ?, ?) + """ cur.execute( insert_stmt,