From a6d9e742029b1a1f227fb33d7fd6be7100106eef Mon Sep 17 00:00:00 2001 From: Yongseok Date: Tue, 4 Feb 2025 15:45:21 +0900 Subject: [PATCH] [#258] ActiveTrace with TransactionId --- test/support/agent-singleton-mock.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/support/agent-singleton-mock.js b/test/support/agent-singleton-mock.js index 6be93d5c..559ce8b3 100644 --- a/test/support/agent-singleton-mock.js +++ b/test/support/agent-singleton-mock.js @@ -111,6 +111,7 @@ class MockAgent extends Agent { if (sampler.getSamplingCountGenerator()) { sampler.getSamplingCountGenerator().reset() } + this.traceContext.activeRequestRepository.activeTraceCache.cache.clear() transactionIdGenerator.reset() httpShared.clearPathMatcher()