mirror of
https://github.com/logos-messaging/go-libp2p-pubsub.git
synced 2026-01-08 07:43:11 +00:00
add delay in TestTagTracerDeliveryTags
This commit is contained in:
parent
a3c7ae761f
commit
8bb5ed7e20
@ -130,6 +130,7 @@ func TestTagTracerDeliveryTags(t *testing.T) {
|
|||||||
|
|
||||||
// if we jump forward a few minutes, we should see the tags decrease by 1 / 10 minutes
|
// if we jump forward a few minutes, we should see the tags decrease by 1 / 10 minutes
|
||||||
clk.Add(50 * time.Minute)
|
clk.Add(50 * time.Minute)
|
||||||
|
time.Sleep(500 * time.Millisecond)
|
||||||
|
|
||||||
val = getTagValue(cmgr, p, tag1)
|
val = getTagValue(cmgr, p, tag1)
|
||||||
expected = GossipSubConnTagMessageDeliveryCap - 5
|
expected = GossipSubConnTagMessageDeliveryCap - 5
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user