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

Hystrix instrumenation tests are flaky #7725

Open
PerfectSlayer opened this issue Oct 4, 2024 · 0 comments
Open

Hystrix instrumenation tests are flaky #7725

PerfectSlayer opened this issue Oct 4, 2024 · 0 comments
Labels
inst: others All other instrumentations tag: flaky test Flaky tests

Comments

@PerfectSlayer
Copy link
Contributor

Test suite

test no fallback results in error for toObservable block from dd-java-agent/instrumentation/hystrix-1.4/src/test/groovy/HystrixObservableTest.groovy.
Marked flaky by CircleCI

Error

Expected exception of type 'com.netflix.hystrix.exception.HystrixRuntimeException', but got 'java.util.concurrent.TimeoutException'
	at org.spockframework.lang.SpecInternals.checkExceptionThrown(SpecInternals.java:84)
	at org.spockframework.lang.SpecInternals.thrownImpl(SpecInternals.java:71)
	at HystrixObservableTest.test no fallback results in error for #action(HystrixObservableTest.groovy:278)
Caused by: java.util.concurrent.TimeoutException: Timed out waiting for child spans.  Received: 1
	at datadog.trace.agent.test.AgentTestRunner.blockUntilChildSpansFinished(AgentTestRunner.groovy:668)
	at datadog.trace.agent.test.AgentTestRunner.blockUntilChildSpansFinished(AgentTestRunner.groovy:652)
	at HystrixObservableTest.test no fallback results in error for #action_closure51(HystrixObservableTest.groovy:272)
	at HystrixObservableTest.test no fallback results in error for #action_closure51(HystrixObservableTest.groovy)
	at groovy.lang.Closure.call(Closure.java:412)
	at groovy.lang.Closure.call(Closure.java:406)
	at datadog.trace.agent.test.utils.TraceUtils.runUnderTrace(TraceUtils.groovy:54)
	at datadog.trace.agent.test.utils.TraceUtils.runUnderTrace(TraceUtils.groovy:43)
	at datadog.trace.agent.test.utils.TraceUtils.runUnderTrace(TraceUtils.groovy:35)
	at HystrixObservableTest.test no fallback results in error for #action(HystrixObservableTest.groovy:250)

Environment

Any version of Java and JVM.

Logs

hystrix-1.4.zip

@PerfectSlayer PerfectSlayer added inst: others All other instrumentations tag: flaky test Flaky tests labels Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inst: others All other instrumentations tag: flaky test Flaky tests
Projects
None yet
Development

No branches or pull requests

1 participant