From e3fe5b1c5948d9e2abc1cd629bb5b97ce0d905e2 Mon Sep 17 00:00:00 2001 From: Doojin Park Date: Tue, 3 Dec 2024 09:38:28 +0900 Subject: [PATCH] Add xfail to the flaky tests (#7724) --- tfx/components/statistics_gen/executor_test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tfx/components/statistics_gen/executor_test.py b/tfx/components/statistics_gen/executor_test.py index 2acf4ac474..272489147e 100644 --- a/tfx/components/statistics_gen/executor_test.py +++ b/tfx/components/statistics_gen/executor_test.py @@ -14,6 +14,7 @@ """Tests for tfx.components.statistics_gen.executor.""" import os +import pytest import tempfile from absl.testing import parameterized @@ -288,6 +289,7 @@ def testDoWithSchemaAndStatsOptions(self): "expected_sample_rate_by_split_property": {"train": 0.2, "eval": 0.2}, }, ) + @pytest.mark.xfail(run=False, reason="Flaky test") def testDoWithSamplingProperty( self, sample_rate, sample_rate_by_split, expected_sample_rate_by_split_property ):