Fix typo and remove tmp file in ut (#2789)
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@ -11,10 +11,14 @@ thirdparty/installed
|
||||
*.so.tmp
|
||||
.DS_Store
|
||||
*.iml
|
||||
core.*
|
||||
extension/spark-doris-connector/.classpath
|
||||
extension/spark-doris-connector/target
|
||||
fe/log
|
||||
custom-env.sh
|
||||
custom_env.sh
|
||||
ut_dir
|
||||
log
|
||||
meta
|
||||
|
||||
|
||||
#ignore eclipse project file & idea project file
|
||||
|
||||
@ -18,6 +18,7 @@
|
||||
#include <gtest/gtest.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
#include "boost/filesystem.hpp"
|
||||
#include "olap/byte_buffer.h"
|
||||
#include "olap/file_helper.h"
|
||||
#include "util/logging.h"
|
||||
@ -31,6 +32,9 @@ public:
|
||||
virtual void SetUp() {
|
||||
}
|
||||
virtual void TearDown() {
|
||||
if (boost::filesystem::exists(".test_byte_buffer")) {
|
||||
ASSERT_TRUE(boost::filesystem::remove_all(".test_byte_buffer"));
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user