rclone: fixed test cleanup
@@ -181,9 +181,10 @@ func TestRCloneProviders(t *testing.T) {
t.Fatalf("unable to connect to rclone backend: %v", err)
}
+ defer st.Close(ctx)
+
// at the end of a test delete all blobs that were created.
defer cleanupAllBlobs(ctx, t, st, 0)
- defer st.Close(ctx)
blobtesting.VerifyStorage(ctx, t, logging.NewWrapper(st, t.Logf, "[RCLONE-STORAGE] "))
blobtesting.AssertConnectionInfoRoundTrips(ctx, t, st)
