Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add interceptor around parameterized features (#953) #954

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

timyates
Copy link
Contributor

Backport of #953 to the 4.2.1 patch release branch

When a feature is using `@Unroll` (which is implicit in recent versions of Spock), we needed to
add the interceptor to the iteration interceptor handler instead of the standard handler.

This bug was visible in #911 where specs that were parameterized did not properly revert the
transaction between iterations.

Closes #911
@timyates timyates added lang: groovy Issues or features specific to Groovy type: bug Something isn't working labels Feb 16, 2024
@timyates timyates added this to the 4.2.1 milestone Feb 16, 2024
@timyates timyates requested a review from sdelamo February 16, 2024 14:03
@timyates timyates self-assigned this Feb 16, 2024
Copy link

@sdelamo sdelamo merged commit 9020182 into 4.2.x Feb 16, 2024
12 checks passed
@sdelamo sdelamo deleted the fix-spock-unroll-4.2.x branch February 16, 2024 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang: groovy Issues or features specific to Groovy type: bug Something isn't working
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants