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
This commit is contained in:
Steven Luong
2022-11-04 12:19:42 -07:00
committed by Florin Coras
parent a6a01f1fe5
commit 23c989642c

View File

@ -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;