justtrackio / gosoline

Gosoline is our framework which fuels all of our Golang applications
MIT License
93 stars 50 forks source link

test: added option to disable all custom consumer retries #1159

Closed j4k4 closed 2 weeks ago

j4k4 commented 2 weeks ago

This PR includes two new options for the github.com/justtrackio/gosoline/pkg/test/suite package:

WithConfigDebug

As the automatic config debug logs got dropped with one of the recent releases, which get printed on application start, we added the WithConfigDebug option to enable it again if needed.

WithStreamConsumerRetryDisabled

This new option disables all custom retry handlers for consumers. Most of the tests don't need them and they could have some potential side effects one would want to avoid during test execution.