Skip to content

Commit

Permalink
[py] Fixing remote tests, migrating from buck to bazel
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Sep 24, 2019
1 parent 6ea6d29 commit d860153
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def server(request):

_host = 'localhost'
_port = 4444
_path = '../buck-out/gen/java/server/src/org/openqa/grid/selenium/selenium.jar'
_path = '../bazel-bin/java/server/src/org/openqa/selenium/grid/selenium_server_deploy.jar'

def wait_for_server(url, timeout):
start = time.time()
Expand All @@ -202,7 +202,7 @@ def wait_for_server(url, timeout):
return 0

_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
url = 'http://{}:{}/wd/hub'.format(_host, _port)
url = 'http://{}:{}/'.format(_host, _port)
try:
_socket.connect((_host, _port))
print('The remote driver server is already running or something else'
Expand Down

0 comments on commit d860153

Please sign in to comment.