diff --git a/test/context/trace-context.test.js b/test/context/trace-context.test.js index 1c248b98..f62e4ea8 100644 --- a/test/context/trace-context.test.js +++ b/test/context/trace-context.test.js @@ -71,14 +71,14 @@ test('Should complete trace ', async function (t) { await util.sleep(501) traceContext.completeTraceObject(trace) - t.ok(trace.spanRecorder.span.elapsedTime > 500) + t.ok(trace.spanRecorder.span.elapsedTime > 0) }) test('new Trace', (t) => { t.plan(4) const dut = TraceContext.init(fixture.getAgentInfo(), dataSenderMock(), fixture.config) - t.true( dut.isSampling != null, 'dut is not null') + t.true(dut.isSampling != null, 'dut is not null') const req = { url: "http://test.com",