From 92cfb57fbd632a7f316a3df3623ed8beee50f037 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Fri, 6 Apr 2018 14:54:33 +0100 Subject: [PATCH] fstest/test_all: make -clean work better with google cloud storage --- fstest/test_all/test_all.go | 1 + 1 file changed, 1 insertion(+) diff --git a/fstest/test_all/test_all.go b/fstest/test_all/test_all.go index 31bf8fcbe..8e4cc1a67 100644 --- a/fstest/test_all/test_all.go +++ b/fstest/test_all/test_all.go @@ -272,6 +272,7 @@ func (t *test) cleanFs() error { remote := dir.Remote() if fstest.MatchTestRemote.MatchString(remote) { log.Printf("Purging %s%s", t.remote, remote) + time.Sleep(2500 * time.Millisecond) // sleep to rate limit bucket deletes for gcs dir, err := fs.NewFs(t.remote + remote) if err != nil { return err