Skip to content

Commit

Permalink
[tests]: Fix tests/node/test_server.py::test_auto_reconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
prologic committed Jul 26, 2016
1 parent b09baf2 commit 4795828
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/node/test_server.py
Expand Up @@ -61,12 +61,11 @@ def test_auto_reconnect(app, watcher, manager):
node = Node().register(client)
chan = node.add('client1', *app.bind, reconnect_delay=1, connect_timeout=1)
assert watcher.wait('connected', channel=chan)
watcher.clear()

# close server
app.fire(close(), app.channel)
assert watcher.wait('closed', channel=app.channel)
watcher.clear()

assert watcher.wait('connected', channel=chan)

client.unregister()
Expand Down

0 comments on commit 4795828

Please sign in to comment.