-
Notifications
You must be signed in to change notification settings - Fork 55
Move registry creation to @BeforeEach in SampleTestRunner #57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move registry creation to @BeforeEach in SampleTestRunner #57
Conversation
6927a48
to
d4aea2d
Compare
LGTM however I'd like @violetagg to take a look at this branch (if possible 🙏 ) with what she has there in Reactor Netty. |
I'll check it |
@ttddyy @marcingrzejszczak Do we need to recreate the registry for every test? In Reactor Netty we have
Also the change is breaking change :)
|
So in your cae you would override the
That is not possible because we typically do those just after the release ;) yeah... that's a breaking change |
LGTM ;) |
- Add "create[Meter|Observation]Registry" protected methods - Initialize registries in @beforeeach - Remove the constructor that takes registries - Each parameterized test creates a new registries - Remove code to track used registries and @afterall to close them
d4aea2d
to
4a436ce
Compare
Accommodate the breaking change in `SampleTestRunner` introduced by micrometer-metrics/tracing#57
Accommodate the breaking change in `SampleTestRunner` introduced by micrometer-metrics/tracing#57
Accommodate the breaking change in `SampleTestRunner` introduced by micrometer-metrics/tracing#57
This reverts commit 6b73506.
Accommodate the breaking change in `SampleTestRunner` introduced by micrometer-metrics/tracing#57
Simplifies the meter and observation registries management in
SampleTestRunner
RemoveTestConfigAccessor