Skip to content

Commit

Permalink
amend paths
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusyoung committed Jan 7, 2022
1 parent 8ff6e38 commit 9c7fda9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/launch-otp.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

if(identical(Sys.getenv("OTP_ON_LOCALHOST"), "TRUE")) {

setwd("c:/users/marcu/git-repos/otpr")
setwd("c:/users/myoun/git-repos/otpr")

# OTP server in analyst mode for surface testing
system(paste0("java -Xmx2G -jar ", getwd(), "/tests/otp/otp-1.5.jar --router otpr-test --graphs ", getwd(), "/tests/otp/graphs --server --port 9090 --securePort 9091 --analyst --pointSets ", getwd(), "/tests/otp/pointsets"), intern = FALSE, wait = FALSE)
Expand All @@ -12,5 +12,5 @@ Sys.sleep(5)
system(paste0("java -Xmx2G -jar ", getwd(), "/tests/otp/otp-1.5.jar --router otpr-test --graphs ", getwd(), "/tests/otp/graphs --server"), intern = FALSE, wait = FALSE)
Sys.sleep(5)
# v2 OTP server
system(paste0("C:/PROGRA~1/Java/jdk-11.0.6/bin/java\ -Xmx2G -jar ", getwd(), "/tests/otp/otp-2.0.jar --load ", getwd(), "/tests/otp/graphs/otpr-test-v2 --port 9190 --securePort 9191"), intern = FALSE, wait = FALSE)
system(paste0("C:/PROGRA~1/AMAZON~1/jdk11.0.13_8/bin/java\ -Xmx2G -jar ", getwd(), "/tests/otp/otp-2.0.jar --load ", getwd(), "/tests/otp/graphs/otpr-test-v2 --port 9190 --securePort 9191"), intern = FALSE, wait = FALSE)
}

0 comments on commit 9c7fda9

Please sign in to comment.