fix TestImageBuild/serial/BuildWithBuildArg
parent
e79fe85662
commit
41be18992e
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue