summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/database.scm2
-rw-r--r--tests/http.scm2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/database.scm b/tests/database.scm
index d9dfe13..271f166 100644
--- a/tests/database.scm
+++ b/tests/database.scm
@@ -87,7 +87,7 @@
(test-assert "db-init"
(begin
(%db (db-init database-name))
- (%db-channel (make-critical-section (%db)))
+ (%db-channel (make-worker-thread-channel (%db)))
#t))
(test-assert "sqlite-exec"
diff --git a/tests/http.scm b/tests/http.scm
index b21fa17..337a775 100644
--- a/tests/http.scm
+++ b/tests/http.scm
@@ -108,7 +108,7 @@
(test-assert "db-init"
(begin
(%db (db-init database-name))
- (%db-channel (make-critical-section (%db)))
+ (%db-channel (make-worker-thread-channel (%db)))
#t))
(test-assert "cuirass-run"