Skip to content

Commit

Permalink
Fix test test_node_snapshot_encryption (tikv#9046)
Browse files Browse the repository at this point in the history
Signed-off-by: Xintao <[email protected]>
  • Loading branch information
hunterlxt authored Nov 16, 2020
1 parent bc61a57 commit 2302083
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/integrations/server_encryption.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ fn test_snapshot_encryption<T: Simulator>(cluster: &mut Cluster<T>) {
}

cluster.pd_client.must_add_peer(r1, new_learner_peer(2, 2));
cluster.pd_client.must_add_peer(r1, new_peer(2, 2));
// ensure that peer 2 has all previous logs.
cluster.must_put(b"00", b"00");
must_get_equal(&cluster.get_engine(2), b"key-00", b"value");
must_get_cf_equal(&cluster.get_engine(2), "lock", b"key-50", b"value");
must_get_cf_equal(&cluster.get_engine(2), "write", b"key-99", b"value");
Expand Down

0 comments on commit 2302083

Please sign in to comment.