diff --git a/content_test.go b/content_test.go index e72bd9d70..6b0d5c590 100644 --- a/content_test.go +++ b/content_test.go @@ -57,7 +57,7 @@ func newContentStore(ctx context.Context, root string) (context.Context, content return err } for _, st := range statuses { - if err := cs.Abort(ctx, st.Ref); err != nil { + if err := cs.Abort(ctx, st.Ref); err != nil && !errdefs.IsNotFound(err) { return errors.Wrapf(err, "failed to abort %s", st.Ref) } }