diff --git a/Tests/unittest/test_connectivity.cpp b/Tests/unittest/test_connectivity.cpp index 5c7bfd3e..0a6087d8 100644 --- a/Tests/unittest/test_connectivity.cpp +++ b/Tests/unittest/test_connectivity.cpp @@ -112,29 +112,6 @@ TEST_F(ConnectivityMonitorTest, StartMonitor_NotifyIfAlreadyMonitoring) { bool result = cm.startConnectivityMonitor(interfaceStatus); EXPECT_TRUE(result); } -TEST_F(ConnectivityMonitorTest, StartMonitor_MultipleConsecutiveCalls) { - bool interfaceStatus = true; - bool result = cm.startConnectivityMonitor(interfaceStatus); // First call - EXPECT_TRUE(result); - - result = cm.startConnectivityMonitor(interfaceStatus); // Second call - EXPECT_TRUE(result); - - result = cm.startConnectivityMonitor(interfaceStatus); // Third call - EXPECT_TRUE(result); - - // Ensure no issues with repeated calls - EXPECT_TRUE(connectivityMonitorThrd.joinable()); // The thread should be valid -} -TEST_F(ConnectivityMonitorTest, StartMonitor_InitialStateSetToUnknown) { - bool interfaceStatus = true; - cm.startConnectivityMonitor(interfaceStatus); - EXPECT_EQ(gInternetState, UNKNOWN); - EXPECT_EQ(gIpv4InternetState, UNKNOWN); - EXPECT_EQ(gIpv6InternetState, UNKNOWN); -} - - TEST_F(ConnectivityMonitorTest, SetEndpoints_Valid) { std::vector endpoints = {"https://github.com/rdkcentral", "https://github.com/rdkcentral/rdkservices"};