I have tried the same approach and it worked for me, meaning to copy the
script I want to perform an integration test and run my IT.
I do the following steps
- Setup the required paths for elasticsearch
final Settings settings
- copy your scripts to the appropriate location
- fire up a local node
Maybe you first start the node and then add the script, this might not work
because i think es does a per minute scan for new scripts and the IT test
does not allow this to happen, hence you should first copy your script and
then start the node
Hope it helps
On Wednesday, 30 July 2014 12:31:06 UTC+3, Nick T wrote:
Is there a way to have a native java script accessible in integration
tests? In my integration tests I am creating a test node in the /tmp
I've tried copying the script to /tmp/plugins/scripts but that was quite
hopeful and unfortunately does not work.
Desperate for help.
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4b257e79-e424-4573-8f12-81e0a95b27b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.