Fix WAL test
Summary: Looks like it only needed a proper master durability folder. Reviewers: mferencevic, ipaljak Reviewed By: ipaljak Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D1595
This commit is contained in:
parent
78ee3ed37e
commit
42a43322b2
@ -183,20 +183,18 @@ TEST_F(DistributedDurability, RecoveryFromSameSnapshot) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TODO (msantl): FIXME
|
|
||||||
TEST_F(DistributedDurability, RecoveryFailure) {
|
TEST_F(DistributedDurability, RecoveryFailure) {
|
||||||
{
|
{
|
||||||
AddVertices();
|
AddVertices();
|
||||||
// Make a snapshot on the master without the right snapshots on workers.
|
// Make a snapshot on the master without the right snapshots on workers.
|
||||||
auto dba = master().Access();
|
auto dba = master().Access();
|
||||||
bool status = durability::MakeSnapshot(master(), *dba, master().WorkerId(),
|
bool status = durability::MakeSnapshot(master(), *dba, master().WorkerId(),
|
||||||
tmp_dir_, 100);
|
GetDurabilityDirectory(0), 100);
|
||||||
ASSERT_TRUE(status);
|
ASSERT_TRUE(status);
|
||||||
}
|
}
|
||||||
::testing::FLAGS_gtest_death_test_style = "threadsafe";
|
::testing::FLAGS_gtest_death_test_style = "threadsafe";
|
||||||
EXPECT_DEATH(RestartWithRecovery(), "worker failed to recover");
|
EXPECT_DEATH(RestartWithRecovery(), "worker failed to recover");
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
TEST_F(DistributedDurability, WalWrite) {
|
TEST_F(DistributedDurability, WalWrite) {
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user