diff options
Diffstat (limited to 'test/daemon.py')
| -rw-r--r-- | test/daemon.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/daemon.py b/test/daemon.py index e68cc6ae..59a9c7d1 100644 --- a/test/daemon.py +++ b/test/daemon.py @@ -1275,7 +1275,10 @@ def by_hash(binary): started.append(sess.pid) wait_for('the replica socket', (root / 'pardes-replica.sock').exists) wait_for('the session\'s 9P socket', (root / 'pardes-9p-files.sock').exists) - nine = Client(root / 'pardes-9p-files.sock') + # Each reply waited for as long as the opens it answers take: the + # 17 MiB file's Look took 1.6-6.6 s in a Debug build at a load of + # 35 (ninep.py's 5 s is a reply's whole wait). + nine = Client(root / 'pardes-9p-files.sock', timeout=60) pane = next(int(row.split()[0]) for row in nine.read('/index').splitlines() if row.split()[1] == b'text') (ta, a), (tf, f) = client('a', False), client('f', True) seen = {n: len(checks(root / f'{n}.check')) for n in 'af'} |
