Java agent build test fail


(Paul) #1

I am trying to build the master branch of the Java agent but one of unit tests is failing;

Tests run: 22, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.847 sec <<< FAILURE! - in co.elastic.apm.opentracing.OpenTracingBridgeTest
sanityCheckRealTimestamps  Time elapsed: 0.016 sec  <<< FAILURE!
java.lang.AssertionError: 

Expecting:
 <1541716866705483L>
to be between:
 [1541716806705482L, 1541716866705482L]
	at co.elastic.apm.opentracing.OpenTracingBridgeTest.sanityCheckRealTimestamps(OpenTracingBridgeTest.java:78)

mvn command is mvn clean test.

Any ideas ?


(Felix Barnsteiner) #2

Thanks for the report! That is a strange one, I have just pushed a fix to make the test more resilient.


(Paul) #3

Looks good thanks !


(system) #4

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.