Skip to content

Commit

Permalink
Increase timeout when -race is set
Browse files Browse the repository at this point in the history
  • Loading branch information
torcolvin committed Dec 16, 2024
1 parent 8238a16 commit 5da5865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion topologytest/peer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var totalWaitTime = 3 * time.Second
var pollInterval = 50 * time.Millisecond

func init() {
if !base.UnitTestUrlIsWalrus() {
if !base.UnitTestUrlIsWalrus() || raceEnabled {

Check failure on line 35 in topologytest/peer_test.go

View workflow job for this annotation

GitHub Actions / lint

undefined: raceEnabled (typecheck)

Check failure on line 35 in topologytest/peer_test.go

View workflow job for this annotation

GitHub Actions / test-default-collection

undefined: raceEnabled

Check failure on line 35 in topologytest/peer_test.go

View workflow job for this annotation

GitHub Actions / lint

undefined: raceEnabled (typecheck)

Check failure on line 35 in topologytest/peer_test.go

View workflow job for this annotation

GitHub Actions / test (macos)

undefined: raceEnabled

Check failure on line 35 in topologytest/peer_test.go

View workflow job for this annotation

GitHub Actions / test-race

undefined: raceEnabled

Check failure on line 35 in topologytest/peer_test.go

View workflow job for this annotation

GitHub Actions / test (windows)

undefined: raceEnabled

Check failure on line 35 in topologytest/peer_test.go

View workflow job for this annotation

GitHub Actions / test (ubuntu)

undefined: raceEnabled

Check failure on line 35 in topologytest/peer_test.go

View workflow job for this annotation

GitHub Actions / test (macos)

undefined: raceEnabled

Check failure on line 35 in topologytest/peer_test.go

View workflow job for this annotation

GitHub Actions / test-default-collection

undefined: raceEnabled

Check failure on line 35 in topologytest/peer_test.go

View workflow job for this annotation

GitHub Actions / test (ubuntu)

undefined: raceEnabled

Check failure on line 35 in topologytest/peer_test.go

View workflow job for this annotation

GitHub Actions / test-race

undefined: raceEnabled
totalWaitTime = 40 * time.Second
}
}
Expand Down

0 comments on commit 5da5865

Please sign in to comment.