diff --git a/pkg/executor/copy_multistage_test.go b/pkg/executor/copy_multistage_test.go index f7bb66efe..f28e6f16e 100644 --- a/pkg/executor/copy_multistage_test.go +++ b/pkg/executor/copy_multistage_test.go @@ -73,6 +73,7 @@ COPY --from=first copied/bam.txt output/`) SnapshotMode: constants.SnapshotModeFull, } _, err := DoBuild(opts) + testutil.CheckNoError(t, err) files, err := ioutil.ReadDir(filepath.Join(testDir, "output")) if err != nil { t.Fatal(err)