git » go-net » commit fb93926

context: bump gccgo-specific alloc limit for WithTimeout test.

author David Symonds
2016-04-12 22:48:50 UTC
committer David Symonds
2016-04-12 22:56:35 UTC
parent 0cc50bbd6557282724d0ce5fbe79edabbe81d873

context: bump gccgo-specific alloc limit for WithTimeout test.

9d8ef8d caused an extra allocation for gccgo.

Change-Id: I6568d84009882103ec4767546599afa20c54c480
Reviewed-on: https://go-review.googlesource.com/21940
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>

context/context_test.go +1 -1

diff --git a/context/context_test.go b/context/context_test.go
index fa73096..4209b6f 100644
--- a/context/context_test.go
+++ b/context/context_test.go
@@ -377,7 +377,7 @@ func TestAllocs(t *testing.T) {
 				<-c.Done()
 			},
 			limit:      8,
-			gccgoLimit: 15,
+			gccgoLimit: 16,
 		},
 		{
 			desc: "WithCancel(bg)",