ensure each copy test is independent

This commit is contained in:
Josh Wolf
2021-12-09 11:26:48 -07:00
parent 98322f7b28
commit 697a9fe034
+4
View File
@@ -204,6 +204,10 @@ func TestStore_CopyAll(t *testing.T) {
} else if len(descs) != len(tt.args.refs) {
t.Errorf("CopyAll() expected to push %d descriptors, but only pushed %d", len(descs), len(tt.args.refs))
}
if err := s.Flush(ctx); err != nil {
t.Fatal(err)
}
})
}
}