[TEST] Kill remaining lang-groovy messy tests#19621
Conversation
There was a problem hiding this comment.
Maybe s/_FREQUENCIES|_OFFSETS|_PAYLOADS|_POSITIONS|_CACHE/" + INCLUDE_ALL + "/?
|
@nik9000 Thanks for your review! I addressed all your comments. I also made the Can you please have another look? |
|
@nik9000 Do you need any more information or do you have any more comment? I'd like to get this in. Thanks |
|
LGTM. Sorry to wedge this open so long. Elasticmachine is complaining about: so I guess that is all that is left to solve before merging. |
|
@nik9000 Thanks! I thought I fixed this test but obviously not. It should be OK now. |
|
:( |
|
Sad jenkins. |
|
Lots of fun failures this time! |
|
Yes, I made MockScriptEngine more strict and it now shouts when a script is used but not registered first. Looks like |
|
Last change makes sense to me. LGTM! |
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
After #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 #13837 has been created to track these messy tests in order to clean them up.
The work started with #19280, #19302 and #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
IndexLookupITtest back (even if it has good chance to be removed soon) and fixes its tests.closes #13837