[refactor] Unify all unit tests into one binary file (#8958)
1. solved the previous delayed unit test file size is too large (1.7G+) and the unit test link time is too long problem problems 2. Unify all unit tests into one file to significantly reduce unit test execution time to less than 3 mins 3. temporarily disable stream_load_test.cpp, metrics_action_test.cpp, load_channel_mgr_test.cpp because it will re-implement part of the code and affect other tests
This commit is contained in:
@ -535,14 +535,3 @@ TEST(StringToFloat, BruteForce) {
|
||||
}
|
||||
|
||||
} // end namespace doris
|
||||
|
||||
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;
|
||||
// }
|
||||
doris::init_glog("be-test");
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user