HG Test RPC: skip invalid test when self forwarding
@@ -762,6 +762,7 @@ main(int argc, char *argv[])
"unregistered RPC test failed");
HG_PASSED();
+ if (!hg_test_info.na_test_info.self_send) {
/* RPC test with invalid ID (not registered on server) */
inv_id = MERCURY_REGISTER(hg_test_info.hg_class, "inv_id", void, void,
NULL);
@@ -774,6 +775,7 @@ main(int argc, char *argv[])
HG_TEST_CHECK_ERROR(hg_ret != HG_SUCCESS, done, ret, EXIT_FAILURE,
"invalid RPC test failed");
HG_PASSED();
+ }
/* RPC test with reset */
HG_TEST("reset RPC");
