From f5cd75c090c6478c85c71ae68f9a2142827c5595 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Mon, 16 May 2022 11:39:01 -0400 Subject: [PATCH] shorter timeout in SwitchToConsensus test --- internal/consensus/reactor_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/consensus/reactor_test.go b/internal/consensus/reactor_test.go index f300a0719..aadc0c811 100644 --- a/internal/consensus/reactor_test.go +++ b/internal/consensus/reactor_test.go @@ -648,7 +648,7 @@ func TestSwitchToConsensusVoteExtensions(t *testing.T) { }, } { t.Run(testCase.name, func(t *testing.T) { - ctx, cancel := context.WithTimeout(context.Background(), time.Minute) + ctx, cancel := context.WithTimeout(context.Background(), time.Second*15) defer cancel() cs, vs := makeState(ctx, t, makeStateArgs{validators: 1}) validator := vs[0]