Skip to content

Commit

Permalink
Fix: Wrong assert in recovery process test (#2019)
Browse files Browse the repository at this point in the history
Co-authored-by: Marko Budiselić <marko.budiselic@memgraph.com>
  • Loading branch information
2 people authored and MarkoBarisic committed May 21, 2024
1 parent c632113 commit d131b1a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/unit/storage_v2_replication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -605,8 +605,6 @@ TEST_F(ReplicationTest, RecoveryProcess) {
})
.HasError());

ASSERT_EQ(main.db.storage()->GetReplicaState(replicas[0]), ReplicaState::RECOVERY);

while (main.db.storage()->GetReplicaState(replicas[0]) != ReplicaState::READY) {
std::this_thread::sleep_for(std::chrono::milliseconds(10));
}
Expand Down

0 comments on commit d131b1a

Please sign in to comment.