Skip to content

Commit

Permalink
Test fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaSkriblovsky committed Jun 21, 2016
1 parent a60dbd6 commit 156f07d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_replicaset.py
Expand Up @@ -279,7 +279,8 @@ def do_query():

@defer.inlineCallbacks
def test_StaleConnection(self):
conn = MongoConnection("localhost", self.ports[0])
conn = MongoConnection("localhost", self.ports[0],
watchdog_interval=10, watchdog_timeout=5)
try:
yield conn.db.coll.count()
self.__mongod[0].kill(signal.SIGSTOP)
Expand Down

0 comments on commit 156f07d

Please sign in to comment.