This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new b2a56e2  fix_internal_queue_test_ut (#8754)
b2a56e2 is described below

commit b2a56e2ab27d891335bf685f671e7a46ab01f367
Author: Xinyi Zou <[email protected]>
AuthorDate: Thu Mar 31 13:54:05 2022 +0800

    fix_internal_queue_test_ut (#8754)
---
 be/test/util/internal_queue_test.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/test/util/internal_queue_test.cpp 
b/be/test/util/internal_queue_test.cpp
index 38fdee3..e5ca36e 100644
--- a/be/test/util/internal_queue_test.cpp
+++ b/be/test/util/internal_queue_test.cpp
@@ -222,7 +222,7 @@ TEST(InternalQueue, TestClear) {
 
 TEST(InternalQueue, TestSingleProducerSingleConsumer) {
     std::vector<IntNode> nodes;
-    std::atomic<int32_t> counter;
+    std::atomic<int32_t> counter = 0;
     nodes.resize(LOOP_LESS_OR_MORE(100, 1000000));
     std::vector<int> results;
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to