-
Notifications
You must be signed in to change notification settings - Fork 3k
Fixes #4520 #4954
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
Fixes #4520 #4954
Conversation
<MP_METRICS_TAGS>tier=integration</MP_METRICS_TAGS> | ||
</environmentVariables> | ||
<excludes> | ||
<exclude>org.eclipse.microprofile.metrics.test.MpMetricTest</exclude> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is almost the whole TCK module. Why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was only one test failing, due to the Gauge issue, but there's no way to exclude a single test in pom.xml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused how you managed to get that test to fail, I thought this was an issue only for other TCKs that were compiled against Metrics 2.0. Btw I will send a PR to upgrade to Metrics 2.2 as soon as SmallRye Metrics 2.3 gets synced into Central
Tbh I don’t know.
If you can figure it out that’s awesome
…Sent from my iPhone
On Oct 29, 2019, at 07:25, Jan Martiška ***@***.***> wrote:
@jmartisk commented on this pull request.
In tcks/microprofile-metrics/rest/pom.xml:
> @@ -31,6 +31,9 @@
<environmentVariables>
<MP_METRICS_TAGS>tier=integration</MP_METRICS_TAGS>
</environmentVariables>
+ <excludes>
+ <exclude>org.eclipse.microprofile.metrics.test.MpMetricTest</exclude>
I'm confused how you managed to get that test to fail, I thought this was an issue only for other TCKs that were compiled against Metrics 2.1. Btw I will send a PR to upgrade to Metrics 2.2 as soon as SmallRye Metrics 2.3 gets synced into Central
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
private void processInterfaceReturnTypes(ClassInfo classInfo, Set<Type> returnTypes) { | ||
for (MethodInfo method : classInfo.methods()) { | ||
Type type = method.returnType(); | ||
if (!type.name().toString().contains("java.lang")) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: startsWith
would be safer than contains
, you never know what kind of insane person could use a package that contains java.lang
somewhere in the middle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
It must have been some stale dependencies on your machine, I don't see any reason why this PR would break that test |
@jmartisk just verified I get the following error:
|
Closing, will be part of another PR. |
@kenfinnigan ok, I reported #5014 for that and will look what can be done to re-enable it |
No description provided.