OpenSearch/modules/lang-painless
Robert Muir 13aa169896
Speedup lang-painless tests (#605)
Painless tests would previously create script engine for every single test method.
Now the tests that need to tweak script engine settings create a class
level fixture (BeforeClass/AfterClass) that is used across all the test
methods in that suite.

RegexLimitTests was split into two suites (limit=1 and limit=2) rather
than dynamically applying different settings.

C2 compiler is no longer needed for tests to be fast, instead tests run
faster with C1 only as expected, like the rest of the unit tests.

Signed-off-by: Robert Muir <rmuir@apache.org>
2021-04-27 13:36:19 -05:00
..
licenses Painless: Upgrade ASM to 7.2 (#49263) 2019-11-20 07:09:47 -08:00
spi [License] Add SPDX and OpenSearch Modification license header (#509) 2021-04-09 14:28:18 -05:00
src Speedup lang-painless tests (#605) 2021-04-27 13:36:19 -05:00
build.gradle Speedup lang-painless tests (#605) 2021-04-27 13:36:19 -05:00