Fix the build (#12579)
This commit is contained in:
parent
2371589ec5
commit
a0abd638af
|
@ -82,9 +82,7 @@ class JarServiceNameDetectorTest {
|
||||||
|
|
||||||
Resource resource = serviceNameProvider.createResource(config);
|
Resource resource = serviceNameProvider.createResource(config);
|
||||||
|
|
||||||
assertThat(resource.getAttributes())
|
assertThat(resource.getAttributes()).hasSize(1).containsEntry(SERVICE_NAME, "my-service");
|
||||||
.hasSize(1)
|
|
||||||
.containsEntry(ServiceAttributes.SERVICE_NAME, "my-service");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue