diff --git a/test/gtest/uct/test_sockaddr.cc b/test/gtest/uct/test_sockaddr.cc index e13ed0c7a60..683323fa1b6 100644 --- a/test/gtest/uct/test_sockaddr.cc +++ b/test/gtest/uct/test_sockaddr.cc @@ -305,8 +305,6 @@ class test_uct_sockaddr : public uct_test { status = UCS_PARAM_VALUE(UCT_CM_EP_RESOLVE_ARGS_FIELD, args, status, STATUS, UCS_OK); - - self->handle_client_connecting_status(status); if (status != UCS_OK) { goto err; } @@ -327,6 +325,7 @@ class test_uct_sockaddr : public uct_test { err: self->del_user_data(sa_user_data); + self->handle_client_connecting_status(status); return status; }