golangci-lint: use forbidigo to block time.Sleep (#2946)
This commit is contained in:
parent
0e1673041c
commit
87bd67318b
10 changed files with 313 additions and 181 deletions
|
|
@ -178,7 +178,8 @@ func derpServerScenario(
|
|||
t.Logf("Run 1: %d successful pings out of %d", success, len(allClients)*len(allHostnames))
|
||||
|
||||
// Let the DERP updater run a couple of times to ensure it does not
|
||||
// break the DERPMap.
|
||||
// break the DERPMap. The updater runs on a 10s interval by default.
|
||||
//nolint:forbidigo // Intentional delay: must wait for DERP updater to run multiple times (interval-based)
|
||||
time.Sleep(30 * time.Second)
|
||||
|
||||
success = pingDerpAllHelper(t, allClients, allHostnames)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue