aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/jobs-load-new-guix-revision.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/jobs-load-new-guix-revision.scm b/tests/jobs-load-new-guix-revision.scm
index aee6225..14d0e33 100644
--- a/tests/jobs-load-new-guix-revision.scm
+++ b/tests/jobs-load-new-guix-revision.scm
@@ -40,6 +40,8 @@
((id)
(process-load-new-guix-revision-job id))))))
+ (exec-query conn "TRUNCATE load_new_guix_revision_jobs CASCADE")
+
(test-equal "test build store item failure"
#f
(mock
@@ -56,6 +58,8 @@
((id)
(process-load-new-guix-revision-job id)))))
+ (exec-query conn "TRUNCATE load_new_guix_revision_jobs CASCADE")
+
(test-equal "test extract information failure"
#f
(mock
@@ -76,6 +80,9 @@
"test-commit"
"test-source")
((id)
- (process-load-new-guix-revision-job id))))))))
+ (process-load-new-guix-revision-job id))))))
+
+ (exec-query conn "TRUNCATE load_new_guix_revision_jobs CASCADE")))
+
(test-end)