|
@ -18,7 +18,7 @@ namespace leveldb { |
|
|
class RecoveryTest : public testing::Test { |
|
|
class RecoveryTest : public testing::Test { |
|
|
public: |
|
|
public: |
|
|
RecoveryTest() : env_(Env::Default()), db_(nullptr) { |
|
|
RecoveryTest() : env_(Env::Default()), db_(nullptr) { |
|
|
dbname_ = testing::TempDir() + "/recovery_test"; |
|
|
|
|
|
|
|
|
dbname_ = testing::TempDir() + "recovery_test"; |
|
|
DestroyDB(dbname_, Options()); |
|
|
DestroyDB(dbname_, Options()); |
|
|
Open(); |
|
|
Open(); |
|
|
} |
|
|
} |
|
|