os/signal: increase deliver time for signal testcase

This increases the time to wait for signals to be delivered in the
TestAtomicStop testcase. When running gccgo tests on ppc64 or ppc64le,
there are intermittent failures in this test because the wait time is
too small.

Updates golang/go#29046

Change-Id: Ic70f4109f328df95d50270f468a4860fa3c1e286
Reviewed-on: https://go-review.googlesource.com/c/153879
Reviewed-by: Ian Lance Taylor <iant@golang.org>
diff --git a/libgo/go/os/signal/signal_test.go b/libgo/go/os/signal/signal_test.go
index ecb05fd..6ea59f4 100644
--- a/libgo/go/os/signal/signal_test.go
+++ b/libgo/go/os/signal/signal_test.go
@@ -432,12 +432,12 @@
 
 		// At this point we should either die from SIGINT or
 		// get a notification on cs. If neither happens, we
-		// dropped the signal. Give it a second to deliver,
-		// which is far far longer than it should require.
+		// dropped the signal. It is given 2 seconds to
+		// deliver, as needed for gccgo on some loaded test systems.
 
 		select {
 		case <-cs:
-		case <-time.After(1 * time.Second):
+		case <-time.After(2 * time.Second):
 			if !printed {
 				fmt.Print("lost signal on tries:")
 				printed = true