How to use scripts in an integration Test


(Nick T) #1

Hello,

I've got a native script written in Java and I would like to test this when
my end-to-end integration tests run. The problem is that I do not know how
to register the script with my test node.

In my application a test node is created with a temporary directory in
/tmp. It will be different for each test run, so it's not very easy to
ensure that the native script exists within that folder. Maybe I will just
have to faff around copying it into the directory for each test node,
though.

Any thoughts would be really helpful.

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a46463e6-6679-46cd-ac7b-e310d8410ea5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2