-
Notifications
You must be signed in to change notification settings - Fork 1k
Use Mockito 4 in observation-test #4968
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
Labels
release notes
Noteworthy change to call out in the release notes
Milestone
Comments
jonatan-ivanov
added a commit
to jonatan-ivanov/micrometer
that referenced
this issue
Apr 17, 2024
Mockito 5 is not compatible with Java 8. Closes micrometer-metricsgh-4968
jonatan-ivanov
added a commit
to jonatan-ivanov/micrometer
that referenced
this issue
Apr 23, 2024
Mockito 5 is not compatible with Java 8. Closes micrometer-metricsgh-4968 See micrometer-metricsgh-4963
@jonatan-ivanov I've updated the milestone based on the merged PR target branch. Feel free to fix if that's not correct. |
github-merge-queue bot
referenced
this issue
in camunda/camunda
May 13, 2024
…le/8.4) (#18447) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.micrometer:micrometer-bom](https://togithub.com/micrometer-metrics/micrometer) | `1.12.5` -> `1.12.6` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>micrometer-metrics/micrometer (io.micrometer:micrometer-bom)</summary> ### [`v1.12.6`](https://togithub.com/micrometer-metrics/micrometer/releases/tag/v1.12.6): 1.12.6 [Compare Source](https://togithub.com/micrometer-metrics/micrometer/compare/v1.12.5...v1.12.6) ####⚠️ Noteworthy - Downgrade to Mockito 4 from Mockito 5 in micrometer-observation-test module [https://github.com/micrometer-metrics/micrometer/issues/4968](https://togithub.com/micrometer-metrics/micrometer/issues/4968) #### 🐞 Bug Fixes - NullPointerException in DefaultJmsProcessObservationConvention [#​4966](https://togithub.com/micrometer-metrics/micrometer/issues/4966) - OTLP Gauge datapoint timestamp should be time at sampling [#​5044](https://togithub.com/micrometer-metrics/micrometer/issues/5044) - AnnotationHandler can't see methods from parent class [#​4983](https://togithub.com/micrometer-metrics/micrometer/issues/4983) #### 🔨 Dependency Upgrades - Bump com.amazonaws:aws-java-sdk-cloudwatch from 1.12.696 to 1.12.720 [#​5042](https://togithub.com/micrometer-metrics/micrometer/pull/5042) [#​5086](https://togithub.com/micrometer-metrics/micrometer/pull/5086) - Bump com.dynatrace.metric.util:dynatrace-metric-utils-java from 2.2.0 to 2.2.1 [#​5005](https://togithub.com/micrometer-metrics/micrometer/pull/5005) - Bump com.signalfx.public:signalfx-java from 1.0.40 to 1.0.41 [#​5000](https://togithub.com/micrometer-metrics/micrometer/pull/5000) - Bump com.netflix.spectator:spectator-reg-atlas from 1.7.11 to 1.7.12 [#​4994](https://togithub.com/micrometer-metrics/micrometer/pull/4994) #### ❤️ Contributors Thank you to all the contributors who worked on this release: [@​izeye](https://togithub.com/izeye), [@​tdinev](https://togithub.com/tdinev), [@​lenin-jaganathan](https://togithub.com/lenin-jaganathan) and [@​MartinUhlen](https://togithub.com/MartinUhlen) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/camunda/zeebe). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoic3RhYmxlLzguNCIsImxhYmVscyI6WyJhdXRvbWVyZ2UiXX0=-->
github-merge-queue bot
referenced
this issue
in camunda/camunda
May 13, 2024
…le/8.5) (#18448) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.micrometer:micrometer-bom](https://togithub.com/micrometer-metrics/micrometer) | `1.12.5` -> `1.12.6` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>micrometer-metrics/micrometer (io.micrometer:micrometer-bom)</summary> ### [`v1.12.6`](https://togithub.com/micrometer-metrics/micrometer/releases/tag/v1.12.6): 1.12.6 [Compare Source](https://togithub.com/micrometer-metrics/micrometer/compare/v1.12.5...v1.12.6) ####⚠️ Noteworthy - Downgrade to Mockito 4 from Mockito 5 in micrometer-observation-test module [https://github.com/micrometer-metrics/micrometer/issues/4968](https://togithub.com/micrometer-metrics/micrometer/issues/4968) #### 🐞 Bug Fixes - NullPointerException in DefaultJmsProcessObservationConvention [#​4966](https://togithub.com/micrometer-metrics/micrometer/issues/4966) - OTLP Gauge datapoint timestamp should be time at sampling [#​5044](https://togithub.com/micrometer-metrics/micrometer/issues/5044) - AnnotationHandler can't see methods from parent class [#​4983](https://togithub.com/micrometer-metrics/micrometer/issues/4983) #### 🔨 Dependency Upgrades - Bump com.amazonaws:aws-java-sdk-cloudwatch from 1.12.696 to 1.12.720 [#​5042](https://togithub.com/micrometer-metrics/micrometer/pull/5042) [#​5086](https://togithub.com/micrometer-metrics/micrometer/pull/5086) - Bump com.dynatrace.metric.util:dynatrace-metric-utils-java from 2.2.0 to 2.2.1 [#​5005](https://togithub.com/micrometer-metrics/micrometer/pull/5005) - Bump com.signalfx.public:signalfx-java from 1.0.40 to 1.0.41 [#​5000](https://togithub.com/micrometer-metrics/micrometer/pull/5000) - Bump com.netflix.spectator:spectator-reg-atlas from 1.7.11 to 1.7.12 [#​4994](https://togithub.com/micrometer-metrics/micrometer/pull/4994) #### ❤️ Contributors Thank you to all the contributors who worked on this release: [@​izeye](https://togithub.com/izeye), [@​tdinev](https://togithub.com/tdinev), [@​lenin-jaganathan](https://togithub.com/lenin-jaganathan) and [@​MartinUhlen](https://togithub.com/MartinUhlen) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/camunda/zeebe). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoic3RhYmxlLzguNSIsImxhYmVscyI6WyJhdXRvbWVyZ2UiXX0=-->
github-merge-queue bot
referenced
this issue
in camunda/camunda
May 13, 2024
#18450) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.micrometer:micrometer-bom](https://togithub.com/micrometer-metrics/micrometer) | `1.12.5` -> `1.12.6` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>micrometer-metrics/micrometer (io.micrometer:micrometer-bom)</summary> ### [`v1.12.6`](https://togithub.com/micrometer-metrics/micrometer/releases/tag/v1.12.6): 1.12.6 [Compare Source](https://togithub.com/micrometer-metrics/micrometer/compare/v1.12.5...v1.12.6) ####⚠️ Noteworthy - Downgrade to Mockito 4 from Mockito 5 in micrometer-observation-test module [https://github.com/micrometer-metrics/micrometer/issues/4968](https://togithub.com/micrometer-metrics/micrometer/issues/4968) #### 🐞 Bug Fixes - NullPointerException in DefaultJmsProcessObservationConvention [#​4966](https://togithub.com/micrometer-metrics/micrometer/issues/4966) - OTLP Gauge datapoint timestamp should be time at sampling [#​5044](https://togithub.com/micrometer-metrics/micrometer/issues/5044) - AnnotationHandler can't see methods from parent class [#​4983](https://togithub.com/micrometer-metrics/micrometer/issues/4983) #### 🔨 Dependency Upgrades - Bump com.amazonaws:aws-java-sdk-cloudwatch from 1.12.696 to 1.12.720 [#​5042](https://togithub.com/micrometer-metrics/micrometer/pull/5042) [#​5086](https://togithub.com/micrometer-metrics/micrometer/pull/5086) - Bump com.dynatrace.metric.util:dynatrace-metric-utils-java from 2.2.0 to 2.2.1 [#​5005](https://togithub.com/micrometer-metrics/micrometer/pull/5005) - Bump com.signalfx.public:signalfx-java from 1.0.40 to 1.0.41 [#​5000](https://togithub.com/micrometer-metrics/micrometer/pull/5000) - Bump com.netflix.spectator:spectator-reg-atlas from 1.7.11 to 1.7.12 [#​4994](https://togithub.com/micrometer-metrics/micrometer/pull/4994) #### ❤️ Contributors Thank you to all the contributors who worked on this release: [@​izeye](https://togithub.com/izeye), [@​tdinev](https://togithub.com/tdinev), [@​lenin-jaganathan](https://togithub.com/lenin-jaganathan) and [@​MartinUhlen](https://togithub.com/MartinUhlen) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/camunda/zeebe). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWVyZ2UiXX0=-->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Environment
To Reproduce
Here is a reproducible example
https://github.com/violetagg/GH-4968
When you run
org.example.MicrometerMockitoTest#test
you should be able to seeExpected behavior
micrometer-observation-test
v1.13.0-SNAPSHOT
andmockito-core
v4.11.0
should be able to be used in projects that requirejdk 8
The text was updated successfully, but these errors were encountered: