From f178d8cfd00d966f132ee7ca50f5fd243e7b0ac4 Mon Sep 17 00:00:00 2001 From: abingcbc Date: Mon, 30 Dec 2024 11:44:23 +0800 Subject: [PATCH] fix --- core/runner/sink/http/HttpSink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/runner/sink/http/HttpSink.cpp b/core/runner/sink/http/HttpSink.cpp index 1097bf699b..fbeb4b2589 100644 --- a/core/runner/sink/http/HttpSink.cpp +++ b/core/runner/sink/http/HttpSink.cpp @@ -77,7 +77,7 @@ bool HttpSink::Init() { } void HttpSink::Stop() { -#ifdef APSARA_UNIT_TEST_MAIN +#ifndef APSARA_UNIT_TEST_MAIN mIsFlush = true; if (!mThreadRes.valid()) { return;