Skip to content
Myr

Fix output of test_lowlevel tests in case of timeout (#6136)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Olivier Gayot · committed by GitHub · parent 0f358ea · Browse files · 1 file+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>

Diff stats

1 file+2 added−1 removed

  • tests:+2 added−1 removed

1 file+2 added−1 removed

modified:tests/testserver/server.py+2 added-1 removed
113 unmodified lines
114 return None115116 def __enter__(self):117 self.start()118 self.ready_event.wait(self.WAIT_EVENT_TIMEOUT)118 if not self.ready_event.wait(self.WAIT_EVENT_TIMEOUT):119 raise RuntimeError("Timeout waiting for server to be ready.")120 return self.host, self.port121122 def __exit__(self, exc_type, exc_value, traceback):123 if exc_type is None:
11 unmodified lines