Fix typo and remove tmp file in ut (#2789)

This commit is contained in:
yangzhg
2020-01-19 21:33:48 +08:00
committed by Mingyu Chen
parent 7c4149cf27
commit 634928e4d0
2 changed files with 9 additions and 1 deletions

6
.gitignore vendored
View File

@ -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

View 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"));
}
}
};