mirror of
https://github.com/juanfont/headscale.git
synced 2025-12-24 03:56:24 +00:00
golangci-lint: use forbidigo to block time.Sleep (#2946)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user