1
0
mirror of https://github.com/golang/go synced 2024-11-19 23:34:40 -07:00
go/test/chan
Carl Shapiro 1c45f98fa3 test/chan: avoid wrap-around in memstats comparison
The select2.go test assumed that the memory allocated between
its two samplings of runtime.ReadMemStats is strictly
increasing.  To avoid failing the tests when this is not true,
a greater-than check is introduced before computing the
difference in allocated memory.

R=golang-dev, r, cshapiro
CC=golang-dev
https://golang.org/cl/13701046
2013-09-20 17:27:56 -07:00
..
doubleselect.go
fifo.go
goroutines.go
nonblock.go
perm.go
powser1.go
powser2.go
select2.go test/chan: avoid wrap-around in memstats comparison 2013-09-20 17:27:56 -07:00
select3.go
select4.go
select5.go
select6.go
select7.go
select.go
sendstmt.go
sieve1.go
sieve2.go
zerosize.go