Skip to content

Commit

Permalink
Allow TeamCity to disable embedded tomcat
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-tchad committed Jan 29, 2024
1 parent a2f5c5a commit cc043c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/labkey/test/TestProperties.java
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public static boolean isTrialServer()

public static boolean isEmbeddedTomcat()
{
return System.getProperties().containsKey("useEmbeddedTomcat") || new File(TestFileUtils.getDefaultDeployDir(), "embedded").isDirectory();
return !System.getProperty("useEmbeddedTomcat", "false").equals("false") || new File(TestFileUtils.getDefaultDeployDir(), "embedded").isDirectory();
}

public static boolean isCheckerFatal()
Expand Down

0 comments on commit cc043c7

Please sign in to comment.