imay closed pull request #269: Fix unit test failed in BE
URL: https://github.com/apache/incubator-doris/pull/269
 
 
   

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/olap/bloom_filter_test.cpp 
b/be/test/olap/bloom_filter_test.cpp
index 82d83f17..f16c5a01 100644
--- a/be/test/olap/bloom_filter_test.cpp
+++ b/be/test/olap/bloom_filter_test.cpp
@@ -112,11 +112,11 @@ TEST_F(TestBloomFilter, bloom_filter_info) {
     bytes = "doris";
     bf.add_bytes(bytes.c_str(), bytes.size());
     string buffer_expect = "bit_num:64 hash_function_num:6 "
-            
"bit_set:0000000000000000101000000000000000000010100000000000000000101000";
+            
"bit_set:0000100000000000100000010000000000010000001000000000000000000100";    
     string buffer = bf.to_string();
     ASSERT_TRUE(buffer_expect == buffer);
 
-    string points_expect = "58-16-38-60-18-40";
+    string points_expect = "4-23-42-61-16-35";
     string points = bf.get_bytes_points_string(bytes.c_str(), bytes.size());
     ASSERT_TRUE(points_expect == points);
 


 

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

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

Reply via email to