Skip to content

Commit

Permalink
Wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmcmu committed Nov 29, 2023
1 parent 1f93cdf commit 5d64154
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ public abstract class BaseRemoteTest
protected static Platform platform;
protected static HPCCWsClient wsclient;

// protected final static String connString = System.getProperty("hpccconn", "http://localhost:8010");
protected final static String connString = System.getProperty("hpccconn", "http://eclwatch.default:8010");
protected final static String connString = System.getProperty("hpccconn", "http://localhost:8010");
protected static String thorClusterFileGroup = System.getProperty("thorgroupname");
protected final static String thorclustername = System.getProperty("thorclustername", "thor");

Expand Down Expand Up @@ -222,11 +221,11 @@ public static String executeECLScript(String eclFile) throws Exception
InputStream resourceStream = BaseRemoteTest.class.getClassLoader().getResourceAsStream(eclFile);
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();

int bytesRead = 0;
byte[] buffer = new byte[4096];
int bytesRead = resourceStream.read(buffer);
do {
bytesRead = resourceStream.read(buffer);
byteArrayOutputStream.write(buffer, 0, bytesRead);
bytesRead = resourceStream.read(buffer);
} while(bytesRead > -1);

byte[] eclData = byteArrayOutputStream.toByteArray();
Expand Down

0 comments on commit 5d64154

Please sign in to comment.