To check if the key managing for a zone is done, we check a log message.
On some machines, with many zones this may take some time.
Increate the timeout to a minute. Note that most zones will continue
their test case much faster, but with many zones there may be some
straggling.
messages.append("received control channel command 'reconfig'")
messages.append("apply_configuration")
messages.append(f"keymgr: {zone} done")
- with server.watch_log_from_start() as watcher:
+ with server.watch_log_from_start(timeout=60) as watcher:
watcher.wait_for_sequence(messages)