Mute MultiModuleHighlightingTest via csv-file

This commit is contained in:
Yunir Salimzyanov
2020-12-22 16:18:01 +03:00
committed by TeamCityServer
parent 7ed6aae46e
commit f2ecf7f666
2 changed files with 3 additions and 2 deletions
@@ -58,7 +58,7 @@ object Bunches {
}
private fun readAllRulesFromFile(): List<String> {
val file = File("../..", ".bunch")
val file = File("../../..", ".bunch")
if (!file.exists()) {
throw BunchException("Can't build list of rules. File '${file.canonicalPath}' doesn't exist")
}
@@ -93,7 +93,7 @@ class LocallyMutedTests {
private fun getMutedTestsFromDatabase(): Map<String, List<MutedTest>> {
val mutedTestsMap = mutableMapOf<String, List<MutedTest>>()
val databaseDir = "../../tests"
val databaseDir = "../../../tests"
val commonDatabaseFile = File(databaseDir, "mute-common.csv")
mutedTestsMap[muteCommonTestKey] = flakyTests(commonDatabaseFile)