mirror of
https://github.com/hauler-dev/hauler.git
synced 2026-08-27 14:07:17 +00:00
ensure each copy test is independent
This commit is contained in:
@@ -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)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user