fix test
This commit is contained in:
parent
d1b45398f4
commit
2642301afb
|
|
@ -26,6 +26,12 @@ import java.util.Collections;
|
|||
import java.util.List;
|
||||
|
||||
public class TestExporterCustomizerProvider implements DeclarativeConfigurationCustomizerProvider {
|
||||
|
||||
@Override
|
||||
public int order() {
|
||||
return Integer.MIN_VALUE; // run before other customizers that might add exporters
|
||||
}
|
||||
|
||||
@Override
|
||||
public void customize(DeclarativeConfigurationCustomizer customizer) {
|
||||
if (TestSpanExporterComponentProvider.getSpanExporter() == null) {
|
||||
|
|
|
|||
|
|
@ -30,6 +30,12 @@ import java.util.List;
|
|||
@AutoService(DeclarativeConfigurationCustomizerProvider.class)
|
||||
public class AgentTestExporterCustomizerProvider
|
||||
implements DeclarativeConfigurationCustomizerProvider {
|
||||
|
||||
@Override
|
||||
public int order() {
|
||||
return Integer.MIN_VALUE; // run before other customizers that might add exporters
|
||||
}
|
||||
|
||||
@Override
|
||||
public void customize(DeclarativeConfigurationCustomizer customizer) {
|
||||
TestExportersUtil.initTestExporters();
|
||||
|
|
|
|||
Loading…
Reference in New Issue