mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-18 17:26:14 +10:00
Merge branch '#35-URL-filtering' of emeroad/pinpoint
from pull-request 72 * refs/heads/#35-URL-filtering: [#35] fix testcase fail
This commit is contained in:
+4
-1
@@ -1,5 +1,6 @@
|
||||
package com.nhn.pinpoint.profiler.context;
|
||||
|
||||
import com.nhn.pinpoint.bootstrap.config.ProfilerConfig;
|
||||
import com.nhn.pinpoint.bootstrap.context.TraceContext;
|
||||
|
||||
/**
|
||||
@@ -8,6 +9,8 @@ import com.nhn.pinpoint.bootstrap.context.TraceContext;
|
||||
public class MockTraceContextFactory {
|
||||
public TraceContext create() {
|
||||
DefaultTraceContext traceContext = new DefaultTraceContext() ;
|
||||
return traceContext;
|
||||
ProfilerConfig profilerConfig = new ProfilerConfig();
|
||||
traceContext.setProfilerConfig(profilerConfig);
|
||||
return traceContext;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user