diff --git a/ghost/ghost.py b/ghost/ghost.py index b0d2ff7..53bfc8c 100755 --- a/ghost/ghost.py +++ b/ghost/ghost.py @@ -1266,6 +1266,8 @@ def wait_for(self, condition, timeout_message, timeout=None): started_at = time.time() while not condition(): if time.time() > (started_at + timeout): + self.logger.debug('Timeout with %d requests still in flight', + self.manager.requests) raise TimeoutError(timeout_message) self.sleep(value=timeout / 10) if self.wait_callback is not None: