aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/delivery.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/delivery.c b/src/delivery.c
index 2718c08..1113119 100644
--- a/src/delivery.c
+++ b/src/delivery.c
@@ -1891,7 +1891,9 @@ void delivery_tests_run(struct Delivery *ctx) {
}
size_t opt_flags = 0;
- opt_flags |= globals.parallel_fail_fast;
+ if (globals.parallel_fail_fast) {
+ opt_flags |= MP_POOL_FAIL_FAST;
+ }
if (pool_setup->num_used) {
COE_CHECK_ABORT(mp_pool_join(pool_setup, 1, opt_flags) != 0, "Failure in setup task pool");