Skip to content

Commit

Permalink
test: Wait longer to get address in mockserver
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Jul 20, 2024
1 parent c1116d8 commit 48312a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/mockserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __enter__(self, authentication=None):
command.append("--auth=" + self.authentication)

self.process = Popen(command, stdout=PIPE)
for _ in range(10):
while True:
if address := re.search("available at (.+/)", self.process.stdout.readline().strip().decode("ascii")):
self.url = address.group(1)
break
Expand Down

0 comments on commit 48312a8

Please sign in to comment.