Skip to content

Commit c5aeece

Browse files
committed
Updating .NET build dependencies for updated java targets
1 parent 8eb46e5 commit c5aeece

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

dotnet/test/common/Environment/RemoteSeleniumServer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace OpenQA.Selenium.Environment
77
public class RemoteSeleniumServer
88
{
99
private Process webserverProcess;
10-
private string serverJarName = @"build\java\server\src\org\openqa\selenium\server\server-standalone.jar";
10+
private string serverJarName = @"buck-out\gen\java\server\src\org\openqa\grid\selenium\selenium.jar";
1111
private string projectRootPath;
1212
private bool autoStart;
1313

@@ -33,7 +33,7 @@ public void Start()
3333
while (!isRunning && DateTime.Now < timeout)
3434
{
3535
// Poll until the webserver is correctly serving pages.
36-
HttpWebRequest request = WebRequest.Create("http://localhost:6000/selenium-server/driver?cmd=getLogMessages") as HttpWebRequest;
36+
HttpWebRequest request = WebRequest.Create("http://localhost:6000/wd/hub/status") as HttpWebRequest;
3737
try
3838
{
3939
HttpWebResponse response = request.GetResponse() as HttpWebResponse;

dotnet/test/common/Environment/TestWebServer.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class TestWebServer
99
{
1010
private Process webserverProcess;
1111

12-
private string standaloneTestJar = @"build/java/client/test/org/openqa/selenium/tests-standalone.jar";
12+
private string standaloneTestJar = @"buck-out/gen/java/client/test/org/openqa/selenium/environment/webserver.jar";
1313
private string webserverClassName = "org.openqa.selenium.environment.webserver.JettyAppServer";
1414
private string projectRootPath;
1515

@@ -27,9 +27,9 @@ public void Start()
2727
{
2828
throw new FileNotFoundException(
2929
string.Format(
30-
"Standalone test jar at {0} didn't exist - please build it using something like {1}",
30+
"Test webserver jar at {0} didn't exist - please build it using something like {1}",
3131
standaloneTestJar,
32-
"go //java/client/test/org/openqa/selenium:tests:uber"));
32+
"go //java/client/test/org/openqa/selenium/environment:webserver"));
3333
}
3434

3535
string javaExecutableName = "java";

dotnet/test/common/build.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dotnet_library(name = "common",
22
deps = [
3-
"//java/client/test/org/openqa/selenium:tests"
3+
"//java/client/test/org/openqa/selenium/environment:webserver"
44
],
55
srcs = "**/*.cs",
66
refs = [

dotnet/test/remote/build.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dotnet_test(name = "remote",
22
deps = [
3-
"//java/server/src/org/openqa/selenium/server:server"
3+
"//java/server/src/org/openqa/grid/selenium:selenium"
44
],
55
srcs = "**/*.cs",
66
refs = [

0 commit comments

Comments
 (0)