Skip to content

Commit

Permalink
set stderr logger
Browse files Browse the repository at this point in the history
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
  • Loading branch information
Connor1996 committed Jun 1, 2020
1 parent 74827a4 commit 6748a59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/thread_safety_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include "test_util/testharness.h"
#include "titan/db.h"
#include "util/random.h"
#include "util/stderr_logger.h"

namespace rocksdb {
namespace titandb {
Expand All @@ -33,6 +34,7 @@ class TitanThreadSafetyTest : public testing::Test {
options_.min_blob_size = 32;
options_.min_gc_batch_size = 1;
options_.blob_file_compression = CompressionType::kLZ4Compression;
options_.info_log.reset(new StderrLogger());
DeleteDir(env_, options_.dirname);
DeleteDir(env_, dbname_);
}
Expand Down

0 comments on commit 6748a59

Please sign in to comment.