Commit 8f18df8a authored by erlholmq's avatar erlholmq Committed by Andy Wilkinson

Ignore spock.lang annotations when creating test context cache key

See gh-7524
Closes gh-8252
parent 47a59a92
......@@ -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.");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment