Skip to content

Commit 2ad0b6e

Browse files
committed
Pass module directories to remote cluster test
1 parent b11686b commit 2ad0b6e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/SequenceRemoteIntegrationTests.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,15 @@ protected void executeJobRemote(File workDir, @Nullable File jobJson) throws IOE
199199
throw new IOException("Unable to find webappdir, expected: " + webappDir.getPath());
200200
}
201201

202+
for (String sysProp : new String[]{"labkey.externalModulesDir", "labkey.modulesDir", "cpas.modulesDir"})
203+
{
204+
String sysPropValue = StringUtils.trimToNull(System.getProperty(sysProp));
205+
if (sysPropValue != null)
206+
{
207+
args.add("-D" + sysProp +"=" + sysPropValue);
208+
}
209+
}
210+
202211
args.add("-webappdir=" + webappDir.getPath());
203212

204213
File configDir = setupConfigDir(workDir);

0 commit comments

Comments
 (0)