From 23c989642c1061e5ebbbe55b6fbde274e0914a90 Mon Sep 17 00:00:00 2001 From: Steven Luong Date: Fri, 4 Nov 2022 12:19:42 -0700 Subject: 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 Change-Id: I787423bdc61a58eea48bab7bd8b73137626c02b4 --- src/plugins/hs_apps/echo_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/hs_apps') 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; -- cgit 1.2.3-korg