Skip to content

Commit 8f1b47f

Browse files
authored
Review fixes for spring-webflux-5.0:testing (open-telemetry#17748)
1 parent 6a32dcf commit 8f1b47f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

instrumentation/spring/spring-webflux/spring-webflux-5.0/testing/src/main/java/io/opentelemetry/instrumentation/spring/webflux/server/AbstractSpringWebFluxServerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public abstract class AbstractSpringWebFluxServerTest
3131
static final InstrumentationExtension testing = HttpServerInstrumentationExtension.forAgent();
3232

3333
@Override
34-
public ConfigurableApplicationContext setupServer() {
34+
protected ConfigurableApplicationContext setupServer() {
3535
SpringApplication app = new SpringApplication(getApplicationClass());
3636
Map<String, Object> properties = new HashMap<>();
3737
properties.put("server.port", port);
@@ -43,7 +43,7 @@ public ConfigurableApplicationContext setupServer() {
4343
}
4444

4545
@Override
46-
public void stopServer(ConfigurableApplicationContext configurableApplicationContext) {
46+
protected void stopServer(ConfigurableApplicationContext configurableApplicationContext) {
4747
configurableApplicationContext.close();
4848
}
4949

0 commit comments

Comments
 (0)