Skip to content

Commit a79bc3d

Browse files
authored
Revert "Inject delay in filer tests on GCP" (#3110)
## Changes This reverts commit 72d7830 (#3101). ## Why The backend has been updated and the workaround is no longer necessary.
1 parent 0292565 commit a79bc3d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

integration/libs/filer/filer_test.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import (
99
"path"
1010
"strings"
1111
"testing"
12-
"time"
1312

1413
"github.com/databricks/cli/internal/testutil"
1514
"github.com/databricks/cli/libs/filer"
@@ -458,13 +457,6 @@ func TestFilerWorkspaceNotebook(t *testing.T) {
458457
err = f.Write(ctx, tc.name, strings.NewReader(tc.content2), filer.OverwriteIfExists)
459458
require.NoError(t, err)
460459

461-
// @pietern on 2025-06-23: We're debugging a read-after-write delay on GCP.
462-
// Include sleep to make tests pass...
463-
if testutil.GetCloud(t) == testutil.GCP {
464-
t.Logf("Running on GCP; sleeping for 5 seconds to make tests pass...")
465-
time.Sleep(5 * time.Second)
466-
}
467-
468460
// Assert contents after second upload
469461
filerTest{t, f}.assertContents(ctx, tc.nameWithoutExt, tc.expected2)
470462
})

0 commit comments

Comments
 (0)