I've been trying to write an integration test against elasticsearch transport client using ESIntegTestCase or against a dockerized ES cluster or spinning up an internaltestcluster.
All attempts failed with IllegalStateExceptions that are triggered by the randomization code in there. It seems that the transport client detects it is running in a test environment and changes behaviour forcing the code to run under a RandomizedRunner.
I think the ES test framework should not force this requirement.
(I need another running as our apps are build on Spring which require another runner for dependency injection.)
What would the most suitable workaround be?
Thanks in advance!