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:
parent
510e13f175
commit
0c726b9fe7
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue