aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/hs_apps
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2022-11-04 12:19:42 -0700
committerFlorin Coras <florin.coras@gmail.com>2022-11-05 00:03:11 +0000
commit23c989642c1061e5ebbbe55b6fbde274e0914a90 (patch)
treef81883db2b7680e9b92aadcdc55b5594db8e5006 /src/plugins/hs_apps
parenta6a01f1fe5925fff5aa4f44c244fda2cc45cbb4d (diff)
hsa: echo client crash when it fails to connect to remote
When echo client fails to connect to remote, it should quit. Type: fix Signed-off-by: Steven Luong <sluong@cisco.com> Change-Id: I787423bdc61a58eea48bab7bd8b73137626c02b4
Diffstat (limited to 'src/plugins/hs_apps')
-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;