File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
test-complete/src/test/java/com/marklogic/client/datamovement/functionaltests Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -130,8 +130,8 @@ public static void setUpBeforeClass() throws Exception {
130130 String location = null ;
131131 String seperator = File .separator ;
132132 try {
133- input = new FileInputStream (System .getProperty ("user.dir" ) + ".." + seperator + ".." + seperator + "qa "
134- + seperator + "failover-location.properties" );
133+ input = new FileInputStream (System .getProperty ("user.dir" ) + seperator + ".." + seperator + ".. "
134+ + seperator + "qa" + seperator + " failover-location.properties" );
135135 prop .load (input );
136136 location = prop .getProperty ("location" );
137137 System .out .println (prop .getProperty ("location" ));
Original file line number Diff line number Diff line change 11package com .marklogic .client .datamovement .functionaltests ;
22
33import java .io .BufferedReader ;
4+ import java .io .File ;
45import java .io .FileInputStream ;
56import java .io .IOException ;
67import java .io .InputStream ;
@@ -102,8 +103,10 @@ public static void setUpBeforeClass() throws Exception {
102103 Properties prop = new Properties ();
103104 InputStream input = null ;
104105 String location = null ;
106+ String seperator = File .separator ;
105107 try {
106- input = new FileInputStream ("failover-location.properties" );
108+ input = new FileInputStream (System .getProperty ("user.dir" ) + seperator + ".." + seperator + ".."
109+ + seperator + "qa" + seperator + "failover-location.properties" );
107110 prop .load (input );
108111 location = prop .getProperty ("location" );
109112 System .out .println (prop .getProperty ("location" ));
You can’t perform that action at this time.
0 commit comments