Skip to content

Commit 3524434

Browse files
committed
revert to using system props for early init with declarative config to avoid classloading issues
1 parent 907995b commit 3524434

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import org.junit.jupiter.api.BeforeEach;
1414
import org.junit.jupiter.api.Test;
1515

16-
class DeclarativeConfigEarlyInitAgentConfigTest {
16+
class EarlyInitAgentConfigTest {
1717

1818
@BeforeEach
1919
void setUp() {
@@ -23,7 +23,6 @@ void setUp() {
2323
@Test
2424
void globalOpenTelemetry() {
2525
EarlyInitAgentConfig config = EarlyInitAgentConfig.create(); // no declarative config file
26-
assertThat(config.isAgentEnabled()).isTrue();
2726
AutoConfiguredOpenTelemetrySdk sdk =
2827
config.installOpenTelemetrySdk(
2928
DeclarativeConfigEarlyInitAgentConfig.class.getClassLoader());

0 commit comments

Comments
 (0)