Skip to content

Commit 5f10eba

Browse files
authored
Merge pull request #2247 from cpshereda/testv2_errhandler_fix
Replaced PMIx_Notify_Event with cbfunc call in errhandler
2 parents 64aa180 + affa959 commit 5f10eba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/test_v2/cli_stages.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,7 @@ void errhandler(size_t evhdlr_registration_id, pmix_status_t status, const pmix_
210210
{
211211
TEST_ERROR((" PMIX server event handler for %s:%d with status = %d", source->nspace,
212212
source->rank, status));
213-
/* notify clients of error */
214-
PMIx_Notify_event(status, source, PMIX_RANGE_NAMESPACE, NULL, 0, op_callbk, NULL);
213+
cbfunc(PMIX_EVENT_ACTION_COMPLETE, NULL, 0, NULL, NULL, cbdata);
215214
}
216215

217216
void op_callbk(pmix_status_t status, void *cbdata)

0 commit comments

Comments
 (0)