Reindex tests fail under Elasticsearch 2.x
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Searchlight |
Fix Released
|
Critical
|
Steve McLellan |
Bug Description
After the switch to elasticsearch 2.x for functional tests, several issues became apparent. One of them is that 2 of the tests in functional/
The tests in question fail with:
FAIL: searchlight.
tags: worker-1
-------
Traceback (most recent call last):
File "/Users/
self.
File "/Users/
self.
File "/Users/
self.
File "/Users/
raise mismatch_error
testtools.
Ran 3 (+2) tests in 7.512s (+0.427s)
FAILED (id=2000, failures=2 (+2))
error: testr failed (1)
I have not investigated whether this is a sign of an underlying issue or something that changed in the 1 -> 2.x transition.
Changed in searchlight: | |
assignee: | nobody → Steve McLellan (sjmc7) |
tags: | added: elasticsearch2 mitaka-backport-potential |
Changed in searchlight: | |
milestone: | none → newton-2 |
This is a fun one. There are a couple of issues. One is that the index creation tests are happening sufficiently fast that occasionally they end up with the same name (because the name's based on a timestamp with second resolution). The other more consistent issue is to do with document counts; not sure if they're connected problems.