Skip to content
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

[4.x] Intermittent HelloWorldAsyncResponseWithRestRequestTest.checkForAsyncMethodRESTRequestMetric #4976

Closed
romain-grecourt opened this issue Sep 27, 2022 · 2 comments
Assignees

Comments

@romain-grecourt
Copy link
Contributor

java.lang.AssertionError: 
getAsync count value after invocation
Expected: is <1L>
     but: was <0L>
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at io.helidon.microprofile.metrics.HelloWorldAsyncResponseWithRestRequestTest.checkForAsyncMethodRESTRequestMetric(HelloWorldAsyncResponseWithRestRequestTest.java:94)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:38)
	at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:106)
	at io.helidon.microprofile.metrics.HelloWorldAsyncResponseWithRestRequestTest$Proxy$_$$_WeldClientProxy.checkForAsyncMethodRESTRequestMetric(Unknown Source)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
@romain-grecourt romain-grecourt added 3.x Issues for 3.x version branch intermittent 4.x Version 4.x labels Sep 27, 2022
@tjquinno
Copy link
Member

Also occurs (at least sometimes) in the new GitHub actions.

@danielkec
Copy link
Contributor

Just failed in 4x on top of the fix commit ce733cb

[INFO] Running io.helidon.microprofile.metrics.HelloWorldAsyncResponseWithRestRequestTest
Error:  Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.482 s <<< FAILURE! - in io.helidon.microprofile.metrics.HelloWorldAsyncResponseWithRestRequestTest
Error:  io.helidon.microprofile.metrics.HelloWorldAsyncResponseWithRestRequestTest.checkForAsyncMethodRESTRequestMetric  Time elapsed: 10.149 s  <<< FAILURE!
java.lang.AssertionError: 
getAsync count value after invocation
Expected: is <1L>
     but: was <0L>
	at io.helidon.common.testing.junit5.MatcherWithRetry.assertThatWithRetry(MatcherWithRetry.java:65)
	at io.helidon.microprofile.metrics.HelloWorldAsyncResponseWithRestRequestTest.checkForAsyncMethodRESTRequestMetric(HelloWorldAsyncResponseWithRestRequestTest.java:95)

@danielkec danielkec reopened this Oct 5, 2022
@tjquinno tjquinno removed the 3.x Issues for 3.x version branch label Oct 10, 2022
@tjquinno tjquinno changed the title Intermittent HelloWorldAsyncResponseWithRestRequestTest.checkForAsyncMethodRESTRequestMetric [4.x] Intermittent HelloWorldAsyncResponseWithRestRequestTest.checkForAsyncMethodRESTRequestMetric Oct 10, 2022
@m0mus m0mus added this to Backlog Aug 12, 2024
@m0mus m0mus moved this to Closed in Backlog Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants