Skip to content

Commit

Permalink
Fixed Method_Invoke failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NetajiPanigrahi authored Apr 3, 2024
1 parent 03823a2 commit 435782f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion unittests/rbusApiNegTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@ TEST(rbusInvokeNegTest, test3)

rbusObject_Init(&inParams, NULL);
rc = rbusMethod_Invoke(handle, method, inParams, &outParams);
EXPECT_EQ(rc, RBUS_ERROR_DESTINATION_NOT_REACHABLE);
EXPECT_EQ(rc, RBUS_ERROR_DESTINATION_NOT_FOUND);
if(outParams)
rbusObject_Release(outParams);
if(inParams)
Expand Down
2 changes: 1 addition & 1 deletion unittests/rbusFunctionalityTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ static void exec_func_test(rbusGtest_t test)
break;
case RBUS_GTEST_SET_MULTI3:
case RBUS_GTEST_SET3:
expected_consumer_status = RBUS_ERROR_DESTINATION_NOT_REACHABLE;
expected_consumer_status = RBUS_ERROR_DESTINATION_NOT_FOUND;
break;
case RBUS_GTEST_SET_MULTI5:
case RBUS_GTEST_SET2:
Expand Down

0 comments on commit 435782f

Please sign in to comment.