Skip to content

Commit 656c55f

Browse files
authored
[py] Returning fixed IP in GitHub actions (#9550)
1 parent 7968096 commit 656c55f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

py/test/selenium/webdriver/common/network.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ def _bytes(value, encoding):
3939

4040

4141
def get_lan_ip():
42+
if os.environ.get('CI') == 'true':
43+
return '0.0.0.0'
44+
4245
try:
4346
ip = socket.gethostbyname(socket.gethostname())
4447
except Exception:

0 commit comments

Comments
 (0)