Skip to content

Commit

Permalink
Revert "[rb] make it easier in ruby remote tests to specify a grid jar"
Browse files Browse the repository at this point in the history
This broke running remote tests on Windows

This reverts commit 2e5cec5.
  • Loading branch information
titusfortner committed Oct 7, 2023
1 parent aa7e2f9 commit 5cfaef5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ def remote_server?
end

def remote_server_jar
jar = 'selenium_server_deploy.jar'
jar = 'java/src/org/openqa/selenium/grid/selenium_server_deploy.jar'
test_jar = Pathname.new(Dir.pwd).join(jar)
built_jar = root.join("bazel-bin/java/src/org/openqa/selenium/grid/#{jar}")
built_jar = root.join("bazel-bin/#{jar}")
jar = if File.exist?(test_jar) && ENV['DOWNLOAD_SERVER'].nil?
test_jar
elsif File.exist?(built_jar) && ENV['DOWNLOAD_SERVER'].nil?
Expand Down

0 comments on commit 5cfaef5

Please sign in to comment.