Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions acceptance/acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,16 +333,6 @@ func testAccept(t *testing.T, inprocessMode bool, singleTest string) int {

expanded := internal.ExpandEnvMatrix(config.EnvMatrix)

if testdiff.OverwriteMode && len(expanded) > 1 {
// All variants of the test are producing the same output,
// there is no need to run the concurrently when updating.
// Exception: if EnvVaryOutput is configured, we must
// run all variants to record variant-specific outputs.
if config.EnvVaryOutput == nil || len(config.EnvMatrix[*config.EnvVaryOutput]) <= 1 {
expanded = expanded[0:1]
}
}

if len(expanded) == 1 {
// env vars aren't part of the test case name, so log them for debugging
if len(expanded[0]) > 0 {
Expand Down