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 f989116
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 @@ -216,6 +216,7 @@ func goTestIntegrationForSingleModule(ctx context.Context, module string) error
}
return nil
})
log.Printf("Warning: failed to run integration tests for module %s: %v\n", fi.Name(), err)
if err != nil {
// 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 f989116

Please sign in to comment.