You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/03/13 16:08:34 UTC

[GitHub] [incubator-doris] acelyc111 opened a new pull request #3110: [UT] Fix some BE unit tests

acelyc111 opened a new pull request #3110: [UT] Fix some BE unit tests
URL: https://github.com/apache/incubator-doris/pull/3110
 
 
   And also support graceful exit for StorageEngine to avoid hang too long
   time in unit test.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] imay merged pull request #3110: [UT] Fix some BE unit tests

Posted by GitBox <gi...@apache.org>.
imay merged pull request #3110: [UT] Fix some BE unit tests
URL: https://github.com/apache/incubator-doris/pull/3110
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] chaoyli commented on a change in pull request #3110: [UT] Fix some BE unit tests

Posted by GitBox <gi...@apache.org>.
chaoyli commented on a change in pull request #3110: [UT] Fix some BE unit tests
URL: https://github.com/apache/incubator-doris/pull/3110#discussion_r392551964
 
 

 ##########
 File path: be/test/olap/rowset/segment_v2/bloom_filter_index_reader_writer_test.cpp
 ##########
 @@ -33,14 +33,15 @@
 namespace doris {
 namespace segment_v2 {
 
+const std::string dname = "./ut_dir/bloom_filter_index_reader_writer_test";
+
 class BloomFilterIndexReaderWriterTest : public testing::Test {
    public:
-    BloomFilterIndexReaderWriterTest() { }
-    virtual ~BloomFilterIndexReaderWriterTest() {
+    virtual void SetUp() {
+        ASSERT_TRUE(boost::filesystem::remove_all(dname));
 
 Review comment:
   It's better to use Env to replace boost::filesystem::remove_all

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org