Skip to content

Commit

Permalink
test: prevent port conflicts in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
suxb201 committed Dec 21, 2023
1 parent c3cfeb3 commit 536d7da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/helpers/utils/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def is_port_available(port: int) -> bool:
MIN_PORT = 20000
MAX_PORT = 40000

port_cursor = random.choice(range(MIN_PORT, MAX_PORT, 10))
port_cursor = random.choice(range(MIN_PORT, MAX_PORT, 1000))

g_lock = threading.Lock()

Expand Down

0 comments on commit 536d7da

Please sign in to comment.