From 923e7b78b03619cbdbc308f915b51388e33f5b5e Mon Sep 17 00:00:00 2001 From: Cristina Leon Date: Mon, 12 Aug 2024 19:41:09 +0000 Subject: [PATCH] Remove flaky test --- handler/ndt7_test.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/handler/ndt7_test.go b/handler/ndt7_test.go index d668b1e..f560a9b 100644 --- a/handler/ndt7_test.go +++ b/handler/ndt7_test.go @@ -5,7 +5,6 @@ import ( "net/http" "net/url" "os" - "path/filepath" "testing" "time" @@ -36,15 +35,6 @@ func TestClient_NDT7Download(t *testing.T) { if err != nil && !websocket.IsCloseError(err, websocket.CloseNormalClosure) { testingx.Must(t, err, "failed to download") } - - // Allow the server time to save the file. The client may stop before the server does. - time.Sleep(10 * time.Second) - // Verify a file was saved. - m, err := filepath.Glob(h.DataDir + "/ndt7/*/*/*/*") - testingx.Must(t, err, "failed to glob datadir: %s", h.DataDir) - if len(m) == 0 { - t.Errorf("no result files found") - } } // WARNING: this is not a reference client.