Skip to content

Commit e3fe5b1

Browse files
authored
Add xfail to the flaky tests (#7724)
1 parent f42957d commit e3fe5b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tfx/components/statistics_gen/executor_test.py

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"""Tests for tfx.components.statistics_gen.executor."""
1515

1616
import os
17+
import pytest
1718
import tempfile
1819

1920
from absl.testing import parameterized
@@ -288,6 +289,7 @@ def testDoWithSchemaAndStatsOptions(self):
288289
"expected_sample_rate_by_split_property": {"train": 0.2, "eval": 0.2},
289290
},
290291
)
292+
@pytest.mark.xfail(run=False, reason="Flaky test")
291293
def testDoWithSamplingProperty(
292294
self, sample_rate, sample_rate_by_split, expected_sample_rate_by_split_property
293295
):

0 commit comments

Comments
 (0)