Change-Id: Ic35b71a01b207ff87072d2e46f34f171ec581fe0tags/7.3.0.rc1
@@ -122,6 +122,10 @@ public abstract class AbstractTB3Test extends TestBenchTestCase { | |||
RunLocally runLocally = getClass().getAnnotation(RunLocally.class); | |||
if (runLocally != null) { | |||
if (System.getenv().containsKey("TEAMCITY_VERSION")) { | |||
throw new RuntimeException( | |||
"@RunLocally is not supported for tests run on the build server"); | |||
} | |||
capabilities = runLocally.value().getDesiredCapabilities(); | |||
setupLocalDriver(capabilities); | |||
} else { |