Skip to content

Commit

Permalink
Disabling set routing state unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Duarte Fonseca authored and fcmonteiro committed Oct 3, 2024
1 parent 407dd11 commit 68ceb41
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/unit_tests/routing_manager_tests/ut_set_routing_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace {
std::uint16_t port_unreliable = 3507;
}

TEST_F(routing_manager_ut_setup, set_routing_state_RS_SUSPENDED) {
TEST_F(routing_manager_ut_setup, DISABLED_set_routing_state_RS_SUSPENDED) {

// Called on mock_host_ as a result of routing_manager_impl::del_routing_info being called within the logic tree
EXPECT_CALL(mock_host_, on_availability(_,_,_,_,_)).Times(AtLeast(1));
Expand All @@ -50,7 +50,7 @@ TEST_F(routing_manager_ut_setup, set_routing_state_RS_SUSPENDED) {
ASSERT_EQ(its_manager->get_routing_state(), vsomeip_v3::routing_state_e::RS_SUSPENDED);
}

TEST_F(routing_manager_ut_setup, set_routing_state_RS_RUNNING) {
TEST_F(routing_manager_ut_setup, DISABLED_set_routing_state_RS_RUNNING) {

// Adding a service using add_routing_info
its_manager->add_routing_info(service_, instance_, major_version_, minor_version_,
Expand All @@ -76,7 +76,7 @@ TEST_F(routing_manager_ut_setup, set_routing_state_RS_RUNNING) {
}
}

TEST_F(routing_manager_ut_setup, set_routing_state_RS_RESUMED) {
TEST_F(routing_manager_ut_setup, DISABLED_set_routing_state_RS_RESUMED) {

// Adding a service using add_routing_info
its_manager->add_routing_info(service_, instance_, major_version_, minor_version_,
Expand All @@ -99,7 +99,7 @@ TEST_F(routing_manager_ut_setup, set_routing_state_RS_RESUMED) {
}
}

TEST_F(routing_manager_ut_setup, set_routing_state_RS_SHUTDOWN) {
TEST_F(routing_manager_ut_setup, DISABLED_set_routing_state_RS_SHUTDOWN) {

// Call test method with test input.
its_manager->set_routing_state(vsomeip_v3::routing_state_e::RS_SHUTDOWN);
Expand All @@ -108,7 +108,7 @@ TEST_F(routing_manager_ut_setup, set_routing_state_RS_SHUTDOWN) {
ASSERT_EQ(its_manager->get_routing_state(), vsomeip_v3::routing_state_e::RS_SHUTDOWN);
}

TEST_F(routing_manager_ut_setup, set_routing_state_RS_DIAGNOSIS) {
TEST_F(routing_manager_ut_setup, DISABLED_set_routing_state_RS_DIAGNOSIS) {

// Adding a service using add_routing_info
its_manager->add_routing_info(service_, instance_, major_version_, minor_version_,
Expand All @@ -132,7 +132,7 @@ TEST_F(routing_manager_ut_setup, set_routing_state_RS_DIAGNOSIS) {
}
}

TEST_F(routing_manager_ut_setup, set_routing_state_RS_UNKNOWN) {
TEST_F(routing_manager_ut_setup, DISABLED_set_routing_state_RS_UNKNOWN) {

// RS_RUNNING is the default value so set RS_UNKOWN
its_manager->set_routing_state(vsomeip_v3::routing_state_e::RS_UNKNOWN);
Expand Down

0 comments on commit 68ceb41

Please sign in to comment.