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

To reduce the chance of flaky test failure #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

java-codehunger
Copy link

Description:
This test is flakily fails. I run this test many times and it makes assertion fails. The failure message is as follows.

Failure:

[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.51 s <<< FAILURE! - in nl.nlighten.prometheus.tomcat.TomcatServletMetricsFilterTest
[ERROR] testServletRequestMetrics(nl.nlighten.prometheus.tomcat.TomcatServletMetricsFilterTest) Time elapsed: 0.01 s <<< FAILURE!
java.lang.AssertionError:
Expected: is a value greater than <0.0>
but: <0.0> was equal to <0.0>
at nl.nlighten.prometheus.tomcat.TomcatServletMetricsFilterTest.testServletRequestMetrics(TomcatServletMetricsFilterTest.java:31)

[ERROR] Failures:
[ERROR] TomcatServletMetricsFilterTest.testServletRequestMetrics:31
Expected: is a value greater than <0.0>
but: <0.0> was equal to <0.0>
[INFO]
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant