Skip to content

Commit

Permalink
print error to debug test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
mauri870 committed Oct 15, 2024
1 parent 3c86ab1 commit a07cbb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dev-tools/mage/gotest.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ func goTestIntegrationForSingleModule(ctx context.Context, module string) error
return nil
})
if err != nil {
fmt.Printf("Error: failed to run integration tests for module %s:\n%v\n", fi.Name(), err)
// err will already be report to stdout, collect failed module to report at end
failedModules = append(failedModules, fi.Name())
}
Expand Down

0 comments on commit a07cbb9

Please sign in to comment.