MongoDB tests fail with MIM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
High
|
Unassigned |
Bug Description
MongoDB tests pass correctly with real MongoDB, but with MIM it fails:
=======
FAIL: test_get_
-------
Traceback (most recent call last):
File "/home/
assert length == 1
AssertionError:
[] = list(self.
0 = len([])
>> assert 0 == 1
assert [][0]['timestamp'] == <module 'datetime' from '/usr/lib/
=======
FAIL: test_get_
-------
Traceback (most recent call last):
File "/home/
assert set(resource_ids) == expected
AssertionError:
[] = [r['resource_id'] for r in []]
set(
>> assert set([]) == set(['resource-
-------
Ran 126 tests in 0.415s
FAILED (SKIP=11, failures=2)
Changed in ceilometer: | |
status: | Triaged → Fix Committed |
Changed in ceilometer: | |
milestone: | none → grizzly-2 |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | grizzly-2 → 2013.1 |
From mailing list:
Are you using the version of Ming from https:/ /github. com/dreamhost/ Ming? It has some patches that may not have been accepted upstream, yet (I'm working with Rick Copeland on that). Our test requirements file should be pointing to that version, but it probably won't upgrade cleanly if you already had something installed. Try "tox -r -e py27" to rebuild the test virtualenv and see if that helps.
Doug