aboutsummaryrefslogtreecommitdiff
path: root/src/delivery_test.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-10-02 14:56:59 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-10-02 14:56:59 -0400
commitf6c504630ecfa38c1516123019bdf67b921f1107 (patch)
tree597b69dcf3f2f3ac94bc5fd164a81a44dfb51336 /src/delivery_test.c
parent4b948ef52add8c3a93aef6fd38a3928ccf4e36d7 (diff)
downloadstasis-f6c504630ecfa38c1516123019bdf67b921f1107.tar.gz
Allow user to define the time interval for "task is running" message
Diffstat (limited to 'src/delivery_test.c')
-rw-r--r--src/delivery_test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/delivery_test.c b/src/delivery_test.c
index 3809768..d79e088 100644
--- a/src/delivery_test.c
+++ b/src/delivery_test.c
@@ -25,18 +25,21 @@ void delivery_tests_run(struct Delivery *ctx) {
perror("mp_pool_init/parallel");
exit(1);
}
+ pool[PARALLEL]->status_interval = globals.pool_status_interval;
pool[SERIAL] = mp_pool_init("serial", ctx->storage.tmpdir);
if (!pool[SERIAL]) {
perror("mp_pool_init/serial");
exit(1);
}
+ pool[SERIAL]->status_interval = globals.pool_status_interval;
pool[SETUP] = mp_pool_init("setup", ctx->storage.tmpdir);
if (!pool[SETUP]) {
perror("mp_pool_init/setup");
exit(1);
}
+ pool[SETUP]->status_interval = globals.pool_status_interval;
// Test block scripts shall exit non-zero on error.
// This will fail a test block immediately if "string" is not found in file.txt: