You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by GitBox <gi...@apache.org> on 2018/11/16 07:27:18 UTC

[GitHub] morningman closed pull request #324: Fix core local value UT failed

morningman closed pull request #324: Fix core local value UT failed
URL: https://github.com/apache/incubator-doris/pull/324
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/be/test/util/core_local_test.cpp b/be/test/util/core_local_test.cpp
index 9912374e..4ad766e5 100644
--- a/be/test/util/core_local_test.cpp
+++ b/be/test/util/core_local_test.cpp
@@ -114,7 +114,7 @@ TEST_F(CoreLocalTest, CoreLocalValueNormal) {
     for (int i = 0; i < value.size(); ++i) {
         sum += *value.access_at_core(i);
     }
-    ASSERT_EQ(10000 + std::thread::hardware_concurrency(), sum);
+    ASSERT_EQ(10000 + value.size(), sum);
 }
 }
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@doris.apache.org
For additional commands, e-mail: dev-help@doris.apache.org