guix-cuirass/tests
Christopher Baines e34d773faf Adjust make-worker-thread-channel to take an initializer.
While this is a generic method, and initializer function will give the
flexibility required to create multiple worker threads for performing SQLite
queries, each with it's own database connection (as a result of calling the
initializer once for each thread). Without this change, they'd all have to use
the same connection, which would not work.

* src/cuirass/utils.scm (make-worker-thread-channel): Change procedure to take
an initializer, rather than arguments directly.
* src/cuirass/database.scm (with-database): Adjust to call
make-worker-thread-channel with an initializer.
* tests/database.scm (db-init): Change to use make-worker-thread-channel
initializer.
* tests/http.scm (db-init): Change to use make-worker-thread-channel
initializer.
2020-01-25 22:32:09 +00:00
..
base.scm tests: Add missing test group statements. 2016-07-27 14:17:10 +02:00
basic.sh Add 'basic.sh' test. 2016-07-03 16:50:27 +02:00
database.scm Adjust make-worker-thread-channel to take an initializer. 2020-01-25 22:32:09 +00:00
http.scm Adjust make-worker-thread-channel to take an initializer. 2020-01-25 22:32:09 +00:00
ui.scm tests: Add missing test group statements. 2016-07-27 14:17:10 +02:00
utils.scm utils: Remove useless procedures. 2017-07-01 18:47:18 +02:00