diff --git a/src/jaegertracing/TracerTest.cpp b/src/jaegertracing/TracerTest.cpp index a6f0cf54..815fbb46 100644 --- a/src/jaegertracing/TracerTest.cpp +++ b/src/jaegertracing/TracerTest.cpp @@ -220,6 +220,7 @@ TEST(Tracer, testTracer) options) .release())); /* + TODO: https://github.com/jaegertracing/jaeger-client-cpp/issues/167 const auto calculatedSystemTime = static_cast( opentracing::convert_time_point( @@ -238,7 +239,9 @@ TEST(Tracer, testTracer) static_cast( opentracing::convert_time_point( span->startTimeSystem())); - /*ASSERT_GE(std::chrono::milliseconds(10), + /* + TODO: https://github.com/jaegertracing/jaeger-client-cpp/issues/167 + ASSERT_GE(std::chrono::milliseconds(10), absTimeDiff(span->startTimeSteady(), calculatedSteadyTime)); @@ -247,11 +250,13 @@ TEST(Tracer, testTracer) span.reset(static_cast( tracer->StartSpanWithOptions("test-span-with-both-timestamps", options) .release())); + // TODO: https://github.com/jaegertracing/jaeger-client-cpp/issues/167 // ASSERT_EQ(options.start_system_timestamp, span->startTimeSystem()); // ASSERT_EQ(options.start_steady_timestamp, span->startTimeSteady()); span.reset(); + // TODO: https://github.com/jaegertracing/jaeger-client-cpp/issues/127 // There is a problem here. After replacing the global tracer, the spans // produced hold the last references to the tracer. After they are // published, the tracer is destroyed. This is not the right moment to close