Hi All,
Is it possible to run elasticsearch in memory (mock) like hsqldb for
testing purpose?. I want to test elasticsearch but I don't want launch a
local instance.
Elasticsearch's integration tests run in the same JVM as the tests so you might want to look at that. They do save data to disk but in the target directory. I'd suggest having each test try deleting an index before it creates one just to make sure to get a truely fresh copy. Remember to wait for green or yellow status after creating the index or it might not be ready for testing.
Hi All,
Is it possible to run elasticsearch in memory (mock) like hsqldb for testing purpose?. I want to test elasticsearch but I don't want launch a local instance.
but I need to run elasticsearch.sh before run the test, is that right?
On Fri, Sep 13, 2013 at 5:18 PM, Nik Everett nik9000@gmail.com wrote:
Elasticsearch's integration tests run in the same JVM as the tests so you
might want to look at that. They do save data to disk but in the target
directory. I'd suggest having each test try deleting an index before it
creates one just to make sure to get a truely fresh copy. Remember to wait
for green or yellow status after creating the index or it might not be
ready for testing.
Hi All,
Is it possible to run elasticsearch in memory (mock) like hsqldb for
testing purpose?. I want to test elasticsearch but I don't want launch a
local instance.
Thanks,
--
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.
but I need to run elasticsearch.sh before run the test, is that right?
On Fri, Sep 13, 2013 at 5:18 PM, Nik Everett nik9000@gmail.com wrote:
Elasticsearch's integration tests run in the same JVM as the tests so you might want to look at that. They do save data to disk but in the target directory. I'd suggest having each test try deleting an index before it creates one just to make sure to get a truely fresh copy. Remember to wait for green or yellow status after creating the index or it might not be ready for testing.
Hi All,
Is it possible to run elasticsearch in memory (mock) like hsqldb for testing purpose?. I want to test elasticsearch but I don't want launch a local instance.
Thanks,
--
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.
but I need to run elasticsearch.sh before run the test, is that right?
On Fri, Sep 13, 2013 at 5:18 PM, Nik Everett nik9000@gmail.com wrote:
Elasticsearch's integration tests run in the same JVM as the tests so you might want to look at that. They do save data to disk but in the target directory. I'd suggest having each test try deleting an index before it creates one just to make sure to get a truely fresh copy. Remember to wait for green or yellow status after creating the index or it might not be ready for testing.
Hi All,
Is it possible to run elasticsearch in memory (mock) like hsqldb for testing purpose?. I want to test elasticsearch but I don't want launch a local instance.
Thanks,
--
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.