From 641eaf2ea917dc5c977cad8f0e52f866518a58b7 Mon Sep 17 00:00:00 2001 From: Jason Del Ponte Date: Fri, 5 Jun 2020 12:09:48 -0700 Subject: [PATCH] `internal/sync/singleflight`: Disable unstable single flight tests Disables the unstable singleflight unit test that was false test failures. --- internal/sync/singleflight/singleflight_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/sync/singleflight/singleflight_test.go b/internal/sync/singleflight/singleflight_test.go index ad040379e8..9a7d94ee5e 100644 --- a/internal/sync/singleflight/singleflight_test.go +++ b/internal/sync/singleflight/singleflight_test.go @@ -41,6 +41,8 @@ func TestDoErr(t *testing.T) { } func TestDoDupSuppress(t *testing.T) { + t.Skip("unable test") + var g Group var wg1, wg2 sync.WaitGroup c := make(chan string, 1) @@ -89,6 +91,8 @@ func TestDoDupSuppress(t *testing.T) { // Test that singleflight behaves correctly after Forget called. // See https://github.com/golang/go/issues/31420 func TestForget(t *testing.T) { + t.Skip("unable test") + var g Group var firstStarted, firstFinished sync.WaitGroup