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.
This commit is contained in:
Christopher Baines 2020-02-24 16:46:10 +00:00
parent 510e13f175
commit 0c726b9fe7

View file

@ -23,6 +23,9 @@
'() '()
(select-job-for-commit conn "does not exist")) (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" (test-equal "test job success"
#t #t
(mock (mock