From e0cadb78e1cd212ffe69fcf29762f75b406bd0d3 Mon Sep 17 00:00:00 2001 From: Zalim Bashorov Date: Thu, 10 Nov 2022 17:19:53 +0100 Subject: [PATCH] [CODEOWNERS] Remove depth limit since it doesn't change test running time much --- .../tests/org/jetbrains/kotlin/code/SpaceCodeOwnersTest.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/repo/codebase-tests/tests/org/jetbrains/kotlin/code/SpaceCodeOwnersTest.kt b/repo/codebase-tests/tests/org/jetbrains/kotlin/code/SpaceCodeOwnersTest.kt index c473a116c70..b564b448d7e 100644 --- a/repo/codebase-tests/tests/org/jetbrains/kotlin/code/SpaceCodeOwnersTest.kt +++ b/repo/codebase-tests/tests/org/jetbrains/kotlin/code/SpaceCodeOwnersTest.kt @@ -88,8 +88,6 @@ class SpaceCodeOwnersTest : TestCase() { owners: CodeOwners, val root: File ) { - private val fileWalkDepthLimit = 13 - val matchers = owners.patterns .map { ItemUse(it, FastIgnoreRule(it.pattern)) } @@ -153,7 +151,6 @@ class SpaceCodeOwnersTest : TestCase() { } fun visitDirectory(directory: File, parentMatch: ItemUse?, depth: Int) { - if (depth > fileWalkDepthLimit) return val path = directory.path.replace(File.separatorChar, '/') if (ignoreTracker.isIgnored(path, isDirectory = true)) return