From f0bb2c8ae5648596ed4370aac57225b21fd71b1e Mon Sep 17 00:00:00 2001 From: Yusef Napora Date: Mon, 18 May 2020 21:00:21 -0400 Subject: [PATCH] play with test timing on travis --- tag_tracer_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tag_tracer_test.go b/tag_tracer_test.go index 727b728..fee2d8b 100644 --- a/tag_tracer_test.go +++ b/tag_tracer_test.go @@ -130,7 +130,7 @@ func TestTagTracerDeliveryTags(t *testing.T) { // if we jump forward a few minutes, we should see the tags decrease by 1 / 10 minutes clk.Add(50 * time.Minute) - time.Sleep(500 * time.Millisecond) + time.Sleep(time.Second) val = getTagValue(cmgr, p, tag1) expected = GossipSubConnTagMessageDeliveryCap - 5 @@ -151,7 +151,7 @@ func TestTagTracerDeliveryTags(t *testing.T) { } tt.Leave(topic1) // advance the real clock a bit to allow the connmgr to remove the tag async - time.Sleep(500 * time.Millisecond) + time.Sleep(time.Second) if tagExists(cmgr, p, tag1) { t.Errorf("expected delivery tag %s to be removed after leaving the topic", tag1) }