summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/daemon.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/daemon.py b/test/daemon.py
index da240c5b..10896194 100644
--- a/test/daemon.py
+++ b/test/daemon.py
@@ -220,13 +220,13 @@ class Replica:
return 'refused', body[2:2 + n].decode()
def ping(self, value):
- """One round trip, in ms (the session's units on the way are
- passed over)."""
+ """One round trip, in ms (the session's units and terminal
+ messages on the way are passed over)."""
t = time.monotonic()
self.send(0x03, struct.pack('<Q', value))
while True:
tag, body = self.read()
- if tag != 0x05:
+ if tag not in (0x05, 0x06):
break
assert (tag, body) == (0x03, struct.pack('<Q', value)), (tag, body)
return (time.monotonic() - t) * 1000