leak: disable test by default for now

Change-Id: Idf590dc4b69b69e860c0d321428b18a30bf77254
This commit is contained in:
Brad Fitzpatrick 2014-02-23 09:44:27 -08:00
parent 2237aee0f3
commit b099f5b101
1 changed files with 6 additions and 0 deletions

View File

@ -30,6 +30,12 @@ func TestNoLeak(t *testing.T) {
}
func testLeak(t *testing.T, close bool, want int) {
if testing.Short() {
// Skipping not because this test is slow, but because finalizers are broken at Go tip during the 1.3 dev cycle:
// https://code.google.com/p/go/issues/detail?id=7358
// https://code.google.com/p/go/issues/detail?id=7375
t.Skip("skipping during short tests")
}
c := make(chan bool)
go func() {
ch := NewChecker()