diff --git a/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/autoconfigure/DevToolsPropertiesTests.java b/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/autoconfigure/DevToolsPropertiesTests.java index de2e65d875..72d68e0bf5 100644 --- a/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/autoconfigure/DevToolsPropertiesTests.java +++ b/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/autoconfigure/DevToolsPropertiesTests.java @@ -38,7 +38,7 @@ public class DevToolsPropertiesTests { restart.getAllExclude(), arrayContaining("META-INF/maven/**", "META-INF/resources/**", "resources/**", "static/**", "public/**", "templates/**", - "foo/**", "bar/**")); + "**/*Test.class", "**/*Tests.class", "foo/**", "bar/**")); } @Test