File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
agent/instrumentation/micrometer-1.0/src/test/java Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 44import static java .util .concurrent .TimeUnit .MILLISECONDS ;
55import static org .assertj .core .api .Assertions .assertThat ;
66import static org .awaitility .Awaitility .await ;
7+ import static org .junit .jupiter .api .parallel .ExecutionMode .SAME_THREAD ;
78
89import com .microsoft .applicationinsights .agent .bootstrap .MicrometerUtil ;
910import io .micrometer .core .instrument .Clock ;
2526import java .util .stream .Collectors ;
2627import org .junit .jupiter .api .Disabled ;
2728import org .junit .jupiter .api .Test ;
29+ import org .junit .jupiter .api .parallel .Execution ;
2830
31+ @ Execution (SAME_THREAD )
2932class MicrometerTest {
3033
31- private static final AgentTestingMicrometerDelegate delegate =
32- new AgentTestingMicrometerDelegate ();
34+ private static final AgentTestingMicrometerDelegate delegate = new AgentTestingMicrometerDelegate ();
3335
3436 static {
3537 MicrometerUtil .setDelegate (delegate );
You can’t perform that action at this time.
0 commit comments