]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: delete useless env var setting in test
authorRuss Cox <rsc@golang.org>
Tue, 13 Sep 2022 13:51:13 +0000 (09:51 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 16 Sep 2022 14:49:13 +0000 (14:49 +0000)
The correct spelling is asyncpreemptoff=1,
but clearly this test doesn't need it.

Change-Id: Ic69cf5be04bf90d357a6e4d8ae3f9011f1779922
Reviewed-on: https://go-review.googlesource.com/c/go/+/430575
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/cmd/go/testdata/script/test_cleanup_failnow.txt

index 0737a93db21443b10ea1ba7bd29bba27b11fa3a7..0aba8c7c00f8b9011846f1ae952f6a5046a1d8ed 100644 (file)
@@ -2,11 +2,10 @@
 [short] skip
 
 # This test could fail if the testing package does not wait until
-# a panicking test does the panic. Turn off multithreading, GC, and
-# async preemption to increase the probability of such a failure.
+# a panicking test does the panic. Turn off multithreading and GC
+# to increase the probability of such a failure.
 env GOMAXPROCS=1
 env GOGC=off
-env GODEBUG=asyncpreempt=off
 
 # If the test exits with 'no tests to run', it means the testing package
 # implementation is incorrect and does not wait until a test panic.