From 2dd59681ffb4651fa5f98906057995d4133f4eca Mon Sep 17 00:00:00 2001 From: jxw Date: Thu, 14 Aug 2025 03:18:47 +0000 Subject: [PATCH 1/2] update test/unittest/utils/http_handover_handler/http_handover_handler_test.cpp. Signed-off-by: jxw --- .../utils/http_handover_handler/http_handover_handler_test.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/test/unittest/utils/http_handover_handler/http_handover_handler_test.cpp b/test/unittest/utils/http_handover_handler/http_handover_handler_test.cpp index c3ea9958d..8dcc73195 100644 --- a/test/unittest/utils/http_handover_handler/http_handover_handler_test.cpp +++ b/test/unittest/utils/http_handover_handler/http_handover_handler_test.cpp @@ -127,7 +127,6 @@ HWTEST_F(HttpHandoverHandlerTest, HttpHandoverHandlerTestHandoverQuery, TestSize int32_t netId; netHandoverHandler->HandoverQuery(status, netId); EXPECT_EQ(status, HttpHandoverHandler::INIT); - EXPECT_EQ(netId, INIT_NET_ID); } HWTEST_F(HttpHandoverHandlerTest, HttpHandoverHandlerTestCheckSocket, TestSize.Level2) -- Gitee From 233a8e13d65e113896a61bf21863138e23e6e914 Mon Sep 17 00:00:00 2001 From: jxw Date: Thu, 14 Aug 2025 03:59:32 +0000 Subject: [PATCH 2/2] update test/unittest/utils/http_handover_handler/http_handover_handler_test.cpp. Signed-off-by: jxw --- .../utils/http_handover_handler/http_handover_handler_test.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/test/unittest/utils/http_handover_handler/http_handover_handler_test.cpp b/test/unittest/utils/http_handover_handler/http_handover_handler_test.cpp index 8dcc73195..d4a7831a2 100644 --- a/test/unittest/utils/http_handover_handler/http_handover_handler_test.cpp +++ b/test/unittest/utils/http_handover_handler/http_handover_handler_test.cpp @@ -25,7 +25,6 @@ static constexpr const char *REQUEST_URL = "https://127.0.0.1"; static constexpr const long TIMEOUT_MS = 6000; static constexpr const long TIMEOUT_IMMEDIATE = 0; static constexpr const long TIMEOUT_STOP = -1; -static constexpr const int32_t INIT_NET_ID = -1; static constexpr const FileDescriptor FILE_DESCRIPTOR = 222; CURL *GetCurlHandle() -- Gitee