diff --git a/testing/scenarios/common_regular.go b/testing/scenarios/common_regular.go index fc3d29970..23d74c0ef 100644 --- a/testing/scenarios/common_regular.go +++ b/testing/scenarios/common_regular.go @@ -16,7 +16,7 @@ func BuildV2Ray() error { } fmt.Printf("Building V2Ray into path (%s)\n", testBinaryPath) - cmd := exec.Command("go", "build", "-o="+testBinaryPath, GetSourcePath()) + cmd := exec.Command("go", "build", "-race", "-o="+testBinaryPath, GetSourcePath()) return cmd.Run() }