Intermittent issue testing lastest master with 0.90.0RC's
derryos opened this issue · comments
Hi there,
I've been using elasticsearch-test over the past while for testing my app. I've recently upgraded to 0.90.0RC1 and am seeing some intermittent issues with unit tests (no stability to the tests - sometimes they pass, sometimes fail based on the expected outcome of ES based count/searches).
I pulled the latest master and ran the tests and all worked fine. When i updated the pom 'elasticsearch.version' variable to be 0.90.0RC1, 1 of the tests fails:
Tests in error:
testElasticsearchForceCreate(com.github.tlrx.elasticsearch.test.annotations.ElasticsearchIndexAnnotationTest): Failed to execute phase [query_fetch], total failure; shardFailures {[na][people][0]: No active shards}
Tests run: 32, Failures: 0, Errors: 1, Skipped: 0
If i run the test standalone (mvn clean test -Dtest=ElasticsearchIndexAnnotationTest), it works fine so it seems to be some delay related issue (based on previous test?). If i run all the tests in eclipse, everything seems to work ok also.
Not sure if a localised vs specific issue but thought i would mention here.
Thanks,
Derry
It's also now failing intermittently in Eclipse.
Unable to reproduce :(