From 0c726b9fe731490c6ddfc147cbaf7fb925332447 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Mon, 24 Feb 2020 16:46:10 +0000 Subject: Clear a couple of tables in the load-new-guix-revision tests As entries from incomplete previous runs can effect the test, so clean out any old data before the test begins. --- tests/jobs-load-new-guix-revision.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/jobs-load-new-guix-revision.scm b/tests/jobs-load-new-guix-revision.scm index 859c63f..fc571dc 100644 --- a/tests/jobs-load-new-guix-revision.scm +++ b/tests/jobs-load-new-guix-revision.scm @@ -23,6 +23,9 @@ '() (select-job-for-commit conn "does not exist")) + (exec-query conn "TRUNCATE guix_revisions CASCADE") + (exec-query conn "TRUNCATE load_new_guix_revision_jobs CASCADE") + (test-equal "test job success" #t (mock -- cgit v1.2.3