Removed deprecated apis; fixes gh-1564
This commit is contained in:
@@ -48,8 +48,7 @@ import static org.assertj.core.api.BDDAssertions.then;
|
||||
classes = { IntegrationSpanCollectorConfig.class,
|
||||
SampleMessagingApplication.class },
|
||||
webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT)
|
||||
@TestPropertySource(properties = { "sample.zipkin.enabled=true",
|
||||
"spring.sleuth.http.legacy.enabled=true" })
|
||||
@TestPropertySource(properties = { "sample.zipkin.enabled=true" })
|
||||
@DirtiesContext
|
||||
public class MessagingApplicationTests extends AbstractIntegrationTest {
|
||||
|
||||
@@ -149,7 +148,7 @@ public class MessagingApplicationTests extends AbstractIntegrationTest {
|
||||
|
||||
private Optional<Span> findLastHttpSpansParent() {
|
||||
return this.integrationTestSpanCollector.hashedSpans.stream()
|
||||
.filter(span -> "http:/".equals(span.name()) && span.kind() != null)
|
||||
.filter(span -> "get /".equals(span.name()) && span.kind() != null)
|
||||
.findFirst();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user