@ContextConfiguration(classes=SkipEndPointsIntegrationTestsWithContextPathWithBasePath.TestConfig.class) @TestPropertySource(properties={"management.endpoints.web.exposure.include:*","server.servlet.context-path:/context-path"}) public abstract class SkipEndPointsIntegrationTestsWithContextPathWithBasePath extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SkipEndPointsIntegrationTestsWithContextPathWithBasePath.TestConfig |
| Constructor and Description |
|---|
SkipEndPointsIntegrationTestsWithContextPathWithBasePath() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearSpans() |
void |
should_not_sample_skipped_endpoint_with_context_path() |
void |
should_sample_non_actuator_endpoint_with_context_path() |
public SkipEndPointsIntegrationTestsWithContextPathWithBasePath()
@BeforeEach @AfterEach public void clearSpans()
@Test public void should_not_sample_skipped_endpoint_with_context_path()
@Test public void should_sample_non_actuator_endpoint_with_context_path()
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.