@SpringBootTest(webEnvironment=RANDOM_PORT) @ContextConfiguration(classes=SkipEndPointsIntegrationTestsWithoutContextPathWithoutBasePath.TestConfig.class) @TestPropertySource(properties={"management.endpoints.web.exposure.include:*","management.endpoints.web.base-path:/"}) public abstract class SkipEndPointsIntegrationTestsWithoutContextPathWithoutBasePath extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SkipEndPointsIntegrationTestsWithoutContextPathWithoutBasePath.TestConfig |
| Constructor and Description |
|---|
SkipEndPointsIntegrationTestsWithoutContextPathWithoutBasePath() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearSpans() |
void |
should_not_sample_actuator_endpoint_with_parameter() |
void |
should_not_sample_actuator_endpoint() |
void |
should_sample_non_actuator_endpoint_with_healthcare_in_path() |
void |
should_sample_non_actuator_endpoint() |
public SkipEndPointsIntegrationTestsWithoutContextPathWithoutBasePath()
@BeforeEach @AfterEach public void clearSpans()
@Test public void should_sample_non_actuator_endpoint()
@Test public void should_sample_non_actuator_endpoint_with_healthcare_in_path()
@Test public void should_not_sample_actuator_endpoint()
@Test public void should_not_sample_actuator_endpoint_with_parameter()
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.