Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahFrench committed Jan 10, 2025
1 parent 872e950 commit f1a3f50
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions internal/command/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,18 @@ func (c *TestCommand) Run(rawArgs []string) int {
view.Diagnostics(nil, nil, diags)
return 1
}

// Handle scenario where an alpha release is used with remote-execution of tests
if len(args.CloudRunSource) > 0 {
diags = diags.Append(tfdiags.Sourceless(
tfdiags.Error,
"JUnit XML output is not available",
"The -junit-xml option is not available for use with remote test execution",
))
view.Diagnostics(nil, nil, diags)
return 1
}

diags = diags.Append(tfdiags.Sourceless(
tfdiags.Warning,
"JUnit XML output is experimental",
Expand Down

0 comments on commit f1a3f50

Please sign in to comment.