From 9d76a1e49551acef8732764c8ee7c8f2dce19ce7 Mon Sep 17 00:00:00 2001 From: henryzhx8 Date: Sat, 28 Dec 2024 05:53:41 +0000 Subject: [PATCH] polish --- core/unittest/flusher/FlusherSLSUnittest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/unittest/flusher/FlusherSLSUnittest.cpp b/core/unittest/flusher/FlusherSLSUnittest.cpp index f968f9f007..3639b7b44c 100644 --- a/core/unittest/flusher/FlusherSLSUnittest.cpp +++ b/core/unittest/flusher/FlusherSLSUnittest.cpp @@ -714,7 +714,7 @@ void FlusherSLSUnittest::TestBuildRequest() { APSARA_TEST_FALSE(flusher.BuildRequest(&item, req, &keepItem, &errMsg)); APSARA_TEST_EQUAL(nullptr, req); APSARA_TEST_TRUE(keepItem); - APSARA_TEST_EQUAL(static_cast(AppConfig::GetInstance()->GetSendRequestConcurrency()) / 2, + APSARA_TEST_EQUAL(static_cast(AppConfig::GetInstance()->GetSendRequestConcurrency()), FlusherSLS::GetRegionConcurrencyLimiter(flusher.mRegion)->GetCurrentLimit()); } EnterpriseSLSClientManager::GetInstance()->UpdateHostLatency("test_project",