From 50fc4c5fecc9aa722dbc660762a9d120f12e92fa Mon Sep 17 00:00:00 2001 From: "d.kovalenko" Date: Mon, 24 Feb 2025 14:12:50 +0300 Subject: [PATCH] [BUG FIX] PostgresNode::start is corrected Incorrect code to build a warning message. --- testgres/node.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/testgres/node.py b/testgres/node.py index 8a712753..512650c1 100644 --- a/testgres/node.py +++ b/testgres/node.py @@ -841,8 +841,7 @@ def LOCAL__raise_cannot_start_node__std(from_exception): log_files0 = log_files1 logging.warning( - "Detected a conflict with using the port {0}. " - "Trying another port after a {1}-second sleep...".format(self.port, timeout) + "Detected a conflict with using the port {0}. Trying another port after a {1}-second sleep...".format(self.port, timeout) ) time.sleep(timeout) timeout = min(2 * timeout, 5)