Skip to content

Commit

Permalink
[py] Returning fixed IP in GitHub actions (#9550)
Browse files Browse the repository at this point in the history
  • Loading branch information
diemol authored Jun 4, 2021
1 parent 7968096 commit 656c55f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions py/test/selenium/webdriver/common/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ def _bytes(value, encoding):


def get_lan_ip():
if os.environ.get('CI') == 'true':
return '0.0.0.0'

try:
ip = socket.gethostbyname(socket.gethostname())
except Exception:
Expand Down

0 comments on commit 656c55f

Please sign in to comment.