Revert temporary hack to monkey patch the fake rpc timeout

We need to revert this so oslo.messaging can release and get us to where
we actually want to be.

Change-Id: I25b29eb8339311c748913ad1c0145949ff17491d
This commit is contained in:
Dan Smith 2015-01-26 10:34:45 -08:00
parent 6bce71b010
commit c797a3f0e3
1 changed files with 0 additions and 10 deletions

View File

@ -237,16 +237,6 @@ class RPCFixture(fixtures.Fixture):
self.messaging_conf.transport_driver = 'fake'
self.useFixture(self.messaging_conf)
rpc.init(CONF)
# NOTE(sdague): the polling behavior in oslo.messaging <=
# 1.5.1 fake driver is less than optimal, as by default the
# polling will wait for a full second even if there are no
# events available. Turning this down speeds up the tests
# substantially. It should be > 0.05, because we've seen races
# that happen if this is less than the internal polling
# timeout in oslo.messaging.
self.useFixture(fixtures.MonkeyPatch(
'oslo.messaging._executors.base.POLL_TIMEOUT',
0.1))
class WarningsFixture(fixtures.Fixture):