Skip to content

Test: Fix integ test extra config files to work with more than one #18865

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

Merged
merged 1 commit into from
Jun 14, 2016

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented Jun 14, 2016

Groovy does some crazy capturing when using closures inside a loop. In
this case, it somehow decided the local loop variable would be
modified, and so each closure was getting a wrapped value that would be
updated on each loop iteration, until all the closures pointed at the
last value. This change fixes the loop to extract the object to be used by
the closures.

Groovy does some crazy capturing when using closures inside a loop. In
this case, it somehow decided the local loop variable would be
modified, and so each closure was getting a wrapped value that would be
updated on each loop iteration, until all the closures pointed at the
last value. This change fixes the loop to extract the object to be used by
the closures.
@rjernst rjernst added >test Issues or PRs that are addressing/adding tests v5.0.0-alpha4 labels Jun 14, 2016
@nik9000
Copy link
Member

nik9000 commented Jun 14, 2016

LGTM

@rjernst rjernst merged commit 399d023 into elastic:master Jun 14, 2016
@rjernst rjernst deleted the fix_extra_config_file branch June 14, 2016 17:59
@rjernst rjernst mentioned this pull request Jun 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>test Issues or PRs that are addressing/adding tests v5.0.0-alpha4
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants