Skip to content

Commit e57e861

Browse files
author
Xiao Li
committed
increase waiting time for testing cli when connecting to global testnet
1 parent f413a25 commit e57e861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diem/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def wait_for_port(*args, **kwargs): # pyre-ignore
192192
asyncio.run(async_wait_for_port(*args, **kwargs))
193193

194194

195-
async def async_wait_for_port(port: int, host: str = "localhost", timeout: float = 5.0) -> None:
195+
async def async_wait_for_port(port: int, host: str = "localhost", timeout: float = 15.0) -> None:
196196
"""Wait for a port ready for accepting TCP connections.
197197
Args:
198198
port (int): port number.

0 commit comments

Comments
 (0)