Skip to content

[TEST] Clean up more messy tests#19302

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

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

Conversation

@tlrx
Copy link
Copy Markdown
Member

@tlrx tlrx commented Jul 7, 2016

Same as #19280 but for more tests.

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 7, 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.

Can you s/.execute().get()/.get()/? I try to do that if I'm going to be touching the line.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Sure

@nik9000
Copy link
Copy Markdown
Member

nik9000 commented Jul 7, 2016

Left some minor stuff but LGTM.

@tlrx tlrx force-pushed the move-back-more-messy-tests branch from cbe7654 to 8a7867d Compare July 7, 2016 15:48
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-back-more-messy-tests branch from 8a7867d to 3267fc4 Compare July 7, 2016 15:50
@tlrx tlrx merged commit 3267fc4 into elastic:master Jul 7, 2016
@tlrx tlrx removed the review label Jul 7, 2016
@tlrx
Copy link
Copy Markdown
Member Author

tlrx commented Jul 7, 2016

Thanks @nik9000 !

@tlrx tlrx deleted the move-back-more-messy-tests branch July 7, 2016 15:55
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