Skip to content

Commit

Permalink
chore(ci): limit TestSync_Basic to 1 minute
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Jul 11, 2022
1 parent 8fd2188 commit 379a84a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/stress/stress_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ func TestSync_Basic(t *testing.T) {

ctx, cancel := context.WithCancel(context.Background())
nodes.InitAndStartTest(ctx, t, cancel)
ctx, cancel = context.WithTimeout(ctx, time.Minute)
defer cancel()

const getChainHeadTimeout = time.Second

Expand Down

0 comments on commit 379a84a

Please sign in to comment.