fix TestImageBuild/serial/BuildWithBuildArg

pull/16252/head
Steven Powell 2023-04-07 12:26:13 -07:00
parent e79fe85662
commit 41be18992e
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ func validateImageBuildWithBuildArg(ctx context.Context, t *testing.T, profile s
if err != nil {
t.Fatalf("failed to build image with args: %q : %v", rr.Command(), err)
}
output := rr.Stdout.String()
output := rr.Stderr.String()
if !strings.Contains(output, "test_env_str") {
t.Fatalf("failed to pass build-args with args: %q : %s", rr.Command(), output)
}