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.
(cherry picked from commit
ba211de91288ef56a4c44464307ffbc906b48fe3)
if reconfig:
messages.append("received control channel command 'reconfig'")
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)