mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2026-10-12 22:24:18 +03:00
device: run fewer trials in TestWaitPool when race detector enabled
On a many-core machine with the race detector enabled, this test can take several minutes to complete. Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
This commit is contained in:
1 parent
ecceaadd16
commit
d117d42ae7
3 files changed
+24
No files matched your search
@@ -0,0 +1,10 @@
|
||||
//+build race
|
||||
|
||||
/* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Copyright (C) 2017-2021 WireGuard LLC. All Rights Reserved.
|
||||
*/
|
||||
|
||||
package device
|
||||
|
||||
const raceEnabled = true
|
||||
Reference in new issue
Block a user