Skip to content

Commit 92e48f6

Browse files
committed
Fix build failure
This test definitely doesn't need Aspect processing since the project doesn't have a dependency on `aspectjweaver` Closes gh-9880
1 parent b9b284d commit 92e48f6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/MetricRepositoryAutoConfigurationTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
import org.springframework.boot.actuate.metrics.dropwizard.DropwizardMetricServices;
2929
import org.springframework.boot.actuate.metrics.reader.MetricReader;
3030
import org.springframework.boot.actuate.metrics.reader.PrefixMetricReader;
31-
import org.springframework.boot.autoconfigure.aop.AopAutoConfiguration;
3231
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
3332
import org.springframework.context.annotation.Bean;
3433
import org.springframework.context.annotation.Configuration;
@@ -70,7 +69,7 @@ public void createServices() throws Exception {
7069
public void dropwizardInstalledIfPresent() {
7170
this.context = new AnnotationConfigApplicationContext(
7271
MetricsDropwizardAutoConfiguration.class,
73-
MetricRepositoryAutoConfiguration.class, AopAutoConfiguration.class);
72+
MetricRepositoryAutoConfiguration.class);
7473
GaugeService gaugeService = this.context.getBean(GaugeService.class);
7574
assertThat(gaugeService).isNotNull();
7675
gaugeService.submit("foo", 2.7);

0 commit comments

Comments
 (0)