mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
make test order stable in teamcity performance tests
This commit is contained in:
@@ -440,7 +440,7 @@ public class TestAll implements Test {
|
||||
return realFreeMemory < needed;
|
||||
}
|
||||
|
||||
private static boolean isPerformanceTestsRun() {
|
||||
static boolean isPerformanceTestsRun() {
|
||||
return PERFORMANCE_TESTS_ONLY;
|
||||
}
|
||||
|
||||
|
||||
@@ -182,6 +182,10 @@ public class TestCaseLoader {
|
||||
private static final List<String> ourRankList = getTeamCityRankList();
|
||||
|
||||
private static List<String> getTeamCityRankList() {
|
||||
if (TestAll.isPerformanceTestsRun()) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
String filePath = System.getProperty("teamcity.tests.recentlyFailedTests.file", null);
|
||||
if (filePath != null) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user