mirror of
https://github.com/golang/go
synced 2024-10-06 16:10:03 +00:00
cmd/go: delete useless env var setting in test
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>
This commit is contained in:
parent
e4a2c38af5
commit
b35b4a31e1
|
@ -2,11 +2,10 @@
|
||||||
[short] skip
|
[short] skip
|
||||||
|
|
||||||
# This test could fail if the testing package does not wait until
|
# This test could fail if the testing package does not wait until
|
||||||
# a panicking test does the panic. Turn off multithreading, GC, and
|
# a panicking test does the panic. Turn off multithreading and GC
|
||||||
# async preemption to increase the probability of such a failure.
|
# to increase the probability of such a failure.
|
||||||
env GOMAXPROCS=1
|
env GOMAXPROCS=1
|
||||||
env GOGC=off
|
env GOGC=off
|
||||||
env GODEBUG=asyncpreempt=off
|
|
||||||
|
|
||||||
# If the test exits with 'no tests to run', it means the testing package
|
# 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.
|
# implementation is incorrect and does not wait until a test panic.
|
||||||
|
|
Loading…
Reference in a new issue