Commit cc1224e6 authored by Dirk McCormick's avatar Dirk McCormick

fix: flaky test

parent 44ae8f1c
......@@ -658,7 +658,7 @@ func TestConsecutiveDontHaveReinstateAfterRemoval(t *testing.T) {
}
// Wait for processing to complete
time.Sleep(5 * time.Millisecond)
time.Sleep(10 * time.Millisecond)
// Session should remove peer
if has := fpm.HasPeer(p); has {
......@@ -670,7 +670,7 @@ func TestConsecutiveDontHaveReinstateAfterRemoval(t *testing.T) {
spm.Update(p, []cid.Cid{}, cids[:1], []cid.Cid{})
// Wait for processing to complete
time.Sleep(5 * time.Millisecond)
time.Sleep(10 * time.Millisecond)
// Peer should be available
if has := fpm.HasPeer(p); !has {
......@@ -686,7 +686,7 @@ func TestConsecutiveDontHaveReinstateAfterRemoval(t *testing.T) {
}
// Wait for processing to complete
time.Sleep(5 * time.Millisecond)
time.Sleep(10 * time.Millisecond)
// Peer should be available
if has := fpm.HasPeer(p); !has {
......@@ -700,7 +700,7 @@ func TestConsecutiveDontHaveReinstateAfterRemoval(t *testing.T) {
}
// Wait for processing to complete
time.Sleep(5 * time.Millisecond)
time.Sleep(10 * time.Millisecond)
// Session should remove peer
if has := fpm.HasPeer(p); has {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment