aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikita Kozlovskiy <nikitka@gmail.com>2023-06-08 17:11:56 +0000
committernkozlovskiy <nmk@ydb.tech>2023-06-08 20:11:56 +0300
commitc97fba6c6c589c28d5801ca15288b7cf1e8eac73 (patch)
tree8e4b83cd5097264c1f3ef57a6b012ca6e80a0cf6
parentdf6af3ee4741c667cf0c449696f768186bdc5752 (diff)
downloadydb-c97fba6c6c589c28d5801ca15288b7cf1e8eac73.tar.gz
ci: clean muted test list
ci: clean muted test list Pull Request resolved: #248
-rw-r--r--.github/config/muted_test.txt12
-rw-r--r--.github/scripts/tests/mute_utils.py15
2 files changed, 14 insertions, 13 deletions
diff --git a/.github/config/muted_test.txt b/.github/config/muted_test.txt
index c296956ac0..2495a18f7f 100644
--- a/.github/config/muted_test.txt
+++ b/.github/config/muted_test.txt
@@ -1,6 +1,6 @@
--KqpFederatedQuery
--KqpScanSpilling::SelfJoin
--KqpSpillingFileTests::StartError
--RetryPolicy::TWriteSession_SeqNoShift
--TPgCodegen::PgFixedFuncBC
--TPgCodegen::PgStrFuncBC
+KqpFederatedQuery
+KqpScanSpilling::SelfJoin
+KqpSpillingFileTests::StartError
+RetryPolicy::TWriteSession_SeqNoShift
+TPgCodegen::PgFixedFuncBC
+TPgCodegen::PgStrFuncBC
diff --git a/.github/scripts/tests/mute_utils.py b/.github/scripts/tests/mute_utils.py
index 111682e96b..ac35ff3da2 100644
--- a/.github/scripts/tests/mute_utils.py
+++ b/.github/scripts/tests/mute_utils.py
@@ -13,13 +13,14 @@ class MutedTestCheck:
def populate(self, fn):
with open(fn, "r") as fp:
for line in fp:
- if line.startswith("-"):
- line = line[1:].rstrip()
- if "::" in line:
- cls, method = line.split("::", maxsplit=1)
- self.methods.add((cls, method))
- else:
- self.classes.add(line)
+ line = line.strip()
+ if not line:
+ continue
+ if "::" in line:
+ cls, method = line.split("::", maxsplit=1)
+ self.methods.add((cls, method))
+ else:
+ self.classes.add(line)
def __call__(self, cls, method=None):
if cls in self.classes: