imay commented on a change in pull request #1546: Fix bugs of Broker load
URL: https://github.com/apache/incubator-doris/pull/1546#discussion_r307558609
 
 

 ##########
 File path: be/test/exec/tablet_sink_test.cpp
 ##########
 @@ -935,6 +935,11 @@ TEST_F(OlapTableSinkTest, decimal) {
 }
 
 int main(int argc, char* argv[]) {
+    std::string conffile = std::string(getenv("DORIS_HOME")) + "/conf/be.conf";
+    if (!doris::config::init(conffile.c_str(), false)) {
+        fprintf(stderr, "error read config file. \n");
+        return -1;
+    }
 
 Review comment:
   you can set config value in SetUp(), otherwise you can only run this test in 
run-ut.sh

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to