Parcourir la source

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>
David Symonds il y a 9 ans
Parent
commit
fb93926129
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      context/context_test.go

+ 1 - 1
context/context_test.go

@@ -377,7 +377,7 @@ func TestAllocs(t *testing.T) {
 				<-c.Done()
 			},
 			limit:      8,
-			gccgoLimit: 15,
+			gccgoLimit: 16,
 		},
 		{
 			desc: "WithCancel(bg)",