summaryrefslogtreecommitdiffhomepage
path: root/src/test/nxt_unit_app_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/nxt_unit_app_test.c')
-rw-r--r--src/test/nxt_unit_app_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/nxt_unit_app_test.c b/src/test/nxt_unit_app_test.c
index a5f3728c..8fda9740 100644
--- a/src/test/nxt_unit_app_test.c
+++ b/src/test/nxt_unit_app_test.c
@@ -97,7 +97,7 @@ ready_handler(nxt_unit_ctx_t *ctx)
nxt_unit_debug(ctx, "ready");
- if (!nxt_unit_is_main_ctx(ctx) || thread_count <= 1) {
+ if (thread_count <= 1) {
return NXT_UNIT_OK;
}