This commit is contained in:
Gregor Zeitlinger 2025-09-12 11:49:06 +02:00
parent 93e06e043d
commit 2c68bb69b5
1 changed files with 4 additions and 1 deletions

View File

@ -27,7 +27,10 @@ class ResourceCustomizerProviderTest {
try { try {
assertThat(objectMapper.writeValueAsString(configurationModel.getResource())) assertThat(objectMapper.writeValueAsString(configurationModel.getResource()))
.isEqualTo( .isEqualTo(
"{\"attributes\":[],\"detection/development\":{\"detectors\":[{\"opentelemetry-javaagent-distribution\":null},{\"service\":null}]}}"); "{\"attributes\":[],\"detection/development\":{\"detectors\":["
+ "{\"service\":null},"
+ "{\"opentelemetry-javaagent-distribution\":null}"
+ "]}}");
} catch (JsonProcessingException e) { } catch (JsonProcessingException e) {
throw new AssertionError(e); throw new AssertionError(e);
} }