Unit test 'test_unsupported_default_store' fails on slow machine
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Stuart McLaren |
Bug Description
This test fails if run on a slowish machine:
=======
ERROR: We test that a mis-configured default_store causes the API server
-------
Traceback (most recent call last):
File "/home/
func(*a, **kwargs)
File "/home/
**self.
File "/home/
**kwargs)
File "/home/
context=
File "/home/
raise RuntimeError(msg)
RuntimeError: Command ./bin/glance-
STDOUT: Unable to increase file descriptor limit. Running as non-root?
Starting glance-api with /tmp/test.
Changing --await-child=1 in the code below to --await-child=3 allows the test to run ok.
@skip_
def test_unsupporte
"""
We test that a mis-configured default_store causes the API server
to fail to start.
"""
# ensure failure exit code is available to assert on
# ensure that the API server fails to launch
Changed in glance: | |
assignee: | nobody → Stuart McLaren (stuart-mclaren) |
Changed in glance: | |
status: | Triaged → In Progress |
Changed in glance: | |
milestone: | none → folsom-3 |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | folsom-3 → 2012.2 |
I can confirm that we've seen this fail sporadically on the Jenkins test vms as well.