Ignore spock.lang annotations when creating test context cache key
See gh-7524 Closes gh-8252
This commit is contained in:
@@ -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.");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user