Check stating only when running on teamcity

This commit is contained in:
Dmitry Trofimov
2016-10-04 11:32:26 +03:00
parent 92ea85e4f7
commit 864ca2dcbd
2 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -23,9 +23,9 @@ public class PyEnvSufficiencyTest extends PyEnvTestCase {
@Test
@Staging
public void testSufficiency() {
checkStaging();
if (UsefulTestCase.IS_UNDER_TEAMCITY && IS_ENV_CONFIGURATION) {
checkStaging();
Set<String> tags = Sets.newHashSet();
List<String> roots = getPythonRoots();
if (roots.size() == 0) {
+3 -1
View File
@@ -188,7 +188,9 @@ public abstract class PyEnvTestCase {
return;
}
checkStaging();
if (UsefulTestCase.IS_UNDER_TEAMCITY && IS_ENV_CONFIGURATION) {
checkStaging();
}
List<String> roots = getPythonRoots();