aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/hs_apps/echo_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/hs_apps/echo_client.c b/src/plugins/hs_apps/echo_client.c
index b7bc85b82a9..935e016e1f7 100644
--- a/src/plugins/hs_apps/echo_client.c
+++ b/src/plugins/hs_apps/echo_client.c
@@ -870,7 +870,7 @@ ec_connect_rpc (void *args)
vlib_worker_thread_barrier_release (vm);
- if (ci < ecm->expected_connections)
+ if (ci < ecm->expected_connections && ecm->run_test != EC_EXITING)
ec_program_connects ();
return 0;