Increase connection timeout for object controller tests
Intermittent test failures due to timeout of *mocked* connections have been reported, so increase the connection timeout in the test app. Closes-Bug: #1730373 Change-Id: I3c91bdff65f8aa06a72f6ad5ec00ee67890b8e61
This commit is contained in:
parent
2596b3ca9d
commit
53d92c1825
@ -169,8 +169,10 @@ class BaseObjectControllerMixin(object):
|
||||
|
||||
self.logger = debug_logger('proxy-server')
|
||||
self.logger.thread_locals = ('txn1', '127.0.0.2')
|
||||
# increase connection timeout to avoid intermittent failures
|
||||
conf = {'conn_timeout': 1.0}
|
||||
self.app = PatchedObjControllerApp(
|
||||
None, FakeMemcache(), account_ring=FakeRing(),
|
||||
conf, FakeMemcache(), account_ring=FakeRing(),
|
||||
container_ring=FakeRing(), logger=self.logger)
|
||||
|
||||
# you can over-ride the container_info just by setting it on the app
|
||||
|
Loading…
Reference in New Issue
Block a user