Skip to content

Commit

Permalink
Merge pull request #24389 from mmaslankaprv/CORE-8382-timeout-in-rp-c…
Browse files Browse the repository at this point in the history
…onnect

tests/connect: added timeout when checking if connect is started
  • Loading branch information
mmaslankaprv authored Dec 2, 2024
2 parents 38801dd + fa62e87 commit 249eacc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/rptest/services/redpanda_connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ def start_node(self, node):
self.url = f"http://{node.account.hostname}:4195"

def _ready():
r = requests.get(f"http://{node.account.hostname}:4195/ready")
r = requests.get(f"http://{node.account.hostname}:4195/ready",
timeout=5)
return r.status_code == 200

wait_until(_ready,
Expand Down

0 comments on commit 249eacc

Please sign in to comment.