Skip to content

Commit

Permalink
tests: fix test_witness_replica_read fail
Browse files Browse the repository at this point in the history
ref #12876

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
  • Loading branch information
ethercflow committed Jan 31, 2023
1 parent a33eb2d commit 338b3fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/integrations/raftstore/test_witness.rs
Expand Up @@ -452,6 +452,9 @@ fn test_witness_replica_read() {
vec![true],
);

// make sure the peer_on_store3 has completed applied to witness
std::thread::sleep(Duration::from_millis(200));

let mut request = new_request(
region.get_id(),
region.get_region_epoch().clone(),
Expand Down

0 comments on commit 338b3fb

Please sign in to comment.