For sanity's sake added a timeout

This commit is contained in:
Jacob Henry 2019-03-03 20:33:06 -05:00
parent feafb6c9a9
commit a83df7538d
1 changed files with 2 additions and 2 deletions

View File

@ -201,8 +201,8 @@ class TestPassive(hooks.Passive):
on_expire)
client.get_slack().add_hook(listener)
# Iterate editing the message every 10 seconds, forever
while True:
# Iterate editing the message every n seconds, for quite some time
for i in range(120):
make_interactive_msg()
await asyncio.sleep(post_interval)