Skip to content

[TEST] Clean up more messy tests#19336

Merged
tlrx merged 1 commit intoelastic:masterfrom
tlrx:move-more-more-messy-tests
Jul 25, 2016
Merged

[TEST] Clean up more messy tests#19336
tlrx merged 1 commit intoelastic:masterfrom
tlrx:move-more-more-messy-tests

Conversation

@tlrx
Copy link
Copy Markdown
Member

@tlrx tlrx commented Jul 8, 2016

Same as #19280 and #19302 but for more tests. We're getting close to the end but there is still a bunch of tests to clean up.

Related to #13837.

@tlrx tlrx added >test Issues or PRs that are addressing/adding tests review :Core/Infra/Scripting Scripting abstractions, Painless, and Mustache v5.0.0-alpha5 labels Jul 8, 2016
@nik9000 nik9000 self-assigned this Jul 8, 2016
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@nik9000
Copy link
Copy Markdown
Member

nik9000 commented Jul 8, 2016

Left some minor stuff. LGTM.

@tlrx tlrx force-pushed the move-more-more-messy-tests branch from b440882 to 7d4e6be Compare July 25, 2016 14:06
After elastic#13834 many tests that used Groovy scripts (for good or bad reason) in their tests have been moved in the lang-groovy module and the issue elastic#13837 has been created to track these messy tests in order to clean them up.

This commit moves more tests back in core, removes the dependency on Groovy, changes the scripts in order to use the mocked script engine, and change the tests  to integration tests.
@tlrx tlrx force-pushed the move-more-more-messy-tests branch from 7d4e6be to f745c96 Compare July 25, 2016 15:02
@tlrx tlrx merged commit f745c96 into elastic:master Jul 25, 2016
@tlrx tlrx removed the review label Jul 25, 2016
@tlrx
Copy link
Copy Markdown
Member Author

tlrx commented Jul 25, 2016

Thanks @nik9000 ! I updated and merged the code according to your comments.

@tlrx tlrx deleted the move-more-more-messy-tests branch July 25, 2016 15:07
tlrx added a commit to tlrx/elasticsearch that referenced this pull request Aug 1, 2016
After elastic#13834 many tests that used Groovy scripts (for good or bad reason) in their tests have been moved in the lang-groovy module and the issue elastic#13837 has been created to track these messy tests in order to clean them up.

The work started with elastic#19280, elastic#19302 and elastic#19336 and this PR moves the remaining messy tests back in core, removes the dependency on Groovy, changes the scripts in order to use the mocked script engine, and change the tests to integration tests.

It also moves IndexLookupIT test back (even if it has good chance to be removed soon) and fixes its tests.

It also changes AbstractQueryTestCase to use custom script plugins in tests.

closes elastic#13837
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Core/Infra/Scripting Scripting abstractions, Painless, and Mustache >test Issues or PRs that are addressing/adding tests v5.0.0-alpha5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants