testWhowasMultiple: Avoid random 'Nickname is already in use' on Ergo (#238)

This commit is contained in:
Val Lorentz 2023-09-24 11:27:26 +02:00 committed by GitHub
parent 00663f15ec
commit edf82585af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,7 @@ The WHOSWAS command (`RFC 1459
TODO: cross-reference Modern
"""
import time
import pytest
@ -144,6 +145,8 @@ class WhowasTestCase(cases.BaseServerTestCase):
except ConnectionClosed:
pass
time.sleep(1) # Ergo may take a little while to record the nick as free
self.connectClient("nick2", ident="ident3")
self.sendLine(3, "QUIT :bye")
try: