@@ -23,15 +23,15 @@ if (! is.null(getOption("default_driver"))) {
2323
2424if ((ds.test_env $ driver == " DSLiteDriver" ) || (ds.test_env $ driver == " OpalDriver" )) {
2525 if (! is.null(ds.test_env $ server_url )) {
26- opal.url <- ds.test_env $ server_url
27- opal_ping.url <- ds.test_env $ server_ping_url
26+ opal.url <- ds.test_env $ server_url
2827 } else {
29- opal.url <- " https://localhost:8443/"
30- opal_ping.url <- " http://localhost:8080/"
28+ opal.url <- " https://localhost:8443/"
3129 }
3230
33- ds.test_env $ ping_url <- opal_ping.url
34- ds.test_env $ ping_config <- config(timeout = 5 )
31+ ds.test_env $ ping_url <- opal.url
32+ ds.test_env $ ping_user <- getOption(" opal.user" , " administrator" )
33+ ds.test_env $ ping_password <- getOption(" opal.password" , " datashield_test&" )
34+ ds.test_env $ ping_options <- config(timeout = 5 , ssl_verifyhost = 0 , ssl_verifypeer = 0 )
3535
3636 ds.test_env $ server_url_1 <- opal.url
3737 ds.test_env $ server_url_2 <- opal.url
@@ -52,15 +52,15 @@ if ((ds.test_env$driver == "DSLiteDriver") || (ds.test_env$driver == "OpalDriver
5252 ds.test_env $ secure_login_details <- TRUE
5353} else if (ds.test_env $ driver == " ArmadilloDriver" ) {
5454 if (! is.null(ds.test_env $ server_url )) {
55- armadillo.url <- ds.test_env $ server_url
56- armadillo_ping.url <- ds.test_env $ server_ping_url
55+ armadillo.url <- ds.test_env $ server_url
5756 } else {
58- armadillo.url <- " http://localhost:8080/"
59- armadillo_ping.url <- " http://localhost:8080/"
57+ armadillo.url <- " http://localhost:8080/"
6058 }
6159
62- ds.test_env $ ping_url <- armadillo_ping.url
63- ds.test_env $ ping_config <- config(timeout = 5 )
60+ ds.test_env $ ping_url <- armadillo_ping.url
61+ ds.test_env $ ping_user <- getOption(" armadillo.user" , " admin" )
62+ ds.test_env $ ping_password <- getOption(" armadillo.password" , " admin" )
63+ ds.test_env $ ping_options <- " list(timeout=5)"
6464
6565 ds.test_env $ server_url_1 <- armadillo.url
6666 ds.test_env $ server_url_2 <- armadillo.url
0 commit comments