From b099f5b1010e65c3c9abb617f9811674225cdaf2 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Sun, 23 Feb 2014 09:44:27 -0800 Subject: [PATCH] leak: disable test by default for now Change-Id: Idf590dc4b69b69e860c0d321428b18a30bf77254 --- pkg/leak/leak_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/leak/leak_test.go b/pkg/leak/leak_test.go index 20316a7fe..6936db0a5 100644 --- a/pkg/leak/leak_test.go +++ b/pkg/leak/leak_test.go @@ -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()