From b35b4a31e167a170a5ee481ed525272bc44dcc33 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 13 Sep 2022 09:51:13 -0400 Subject: [PATCH] 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 Auto-Submit: Russ Cox Run-TryBot: Russ Cox Reviewed-by: Bryan Mills --- src/cmd/go/testdata/script/test_cleanup_failnow.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/cmd/go/testdata/script/test_cleanup_failnow.txt b/src/cmd/go/testdata/script/test_cleanup_failnow.txt index 0737a93db2..0aba8c7c00 100644 --- a/src/cmd/go/testdata/script/test_cleanup_failnow.txt +++ b/src/cmd/go/testdata/script/test_cleanup_failnow.txt @@ -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. -- 2.50.0