File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
SequenceAnalysis/test/src/org/labkey/test/tests/external/labModules
jbrowse/src/org/labkey/jbrowse Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ private boolean isExternalPipelineEnabled()
113113 }
114114 log ("sequencePipelineEnabled: " + sequencePipelineEnabled );
115115
116- if (TestProperties .isTestRunningOnTeamCity () && ! sequencePipelineEnabled )
116+ if (! sequencePipelineEnabled && TestProperties .isTestRunningOnTeamCity () && WebTestHelper . getDatabaseType () == WebTestHelper . DatabaseType . PostgreSQL )
117117 {
118118 throw new IllegalStateException ("When running on team city, -DsequencePipelineEnabled should be true" );
119119 }
Original file line number Diff line number Diff line change @@ -175,6 +175,11 @@ public File getJbrowseCli() throws PipelineJobException
175175 {
176176 Module module = ModuleLoader .getInstance ().getModule (JBrowseModule .NAME );
177177 DirectoryResource resource = (DirectoryResource ) module .getModuleResolver ().lookup (Path .parse ("external/jb-cli" ));
178+ if (resource == null )
179+ {
180+ throw new PipelineJobException ("Unable to find expected module resource: external/jb-cli" );
181+ }
182+
178183 File toolDir = resource .getDir ();
179184 if (!toolDir .exists ())
180185 {
You can’t perform that action at this time.
0 commit comments