mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Ignore spock.lang annotations when creating test context cache key
See gh-7524 Closes gh-8252
This commit is contained in:
parent
47a59a92d1
commit
8f18df8a9c
@ -324,8 +324,8 @@ class ImportsContextCustomizer implements ContextCustomizer {
|
||||
|
||||
@Override
|
||||
public boolean isIgnored(Annotation annotation) {
|
||||
return annotation.annotationType().getName()
|
||||
.startsWith("org.spockframework.");
|
||||
return annotation.annotationType().getName().startsWith("org.spockframework.") ||
|
||||
annotation.annotationType().getName().startsWith("spock.");
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user