shorter timeout in SwitchToConsensus test

This commit is contained in:
William Banfield
2022-05-16 11:39:01 -04:00
parent 19cc03f6fd
commit f5cd75c090
+1 -1
View File
@@ -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]