Skip to content

Commit 7f1db7d

Browse files
committed
Fix Issue on Windows Tests
Subsequent tests would fail because they thought the DB was open. The explicit close here addresses that issue.
1 parent 75c80bc commit 7f1db7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cloud/db_cloud_test.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,6 +1042,7 @@ TEST_F(CloudTest, TwoConcurrentWriters) {
10421042

10431043
std::string v;
10441044
ASSERT_TRUE(db1->Get(ReadOptions(), "ShouldNotBeApplied", &v).IsNotFound());
1045+
closeDB1();
10451046
}
10461047

10471048
// Creates a pure RocksDB database and makes sure we can migrate to RocksDB

0 commit comments

Comments
 (0)