Skip to content

Commit

Permalink
Add xfail to the flaky tests (#7724)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikelite authored Dec 3, 2024
1 parent f42957d commit e3fe5b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tfx/components/statistics_gen/executor_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"""Tests for tfx.components.statistics_gen.executor."""

import os
import pytest
import tempfile

from absl.testing import parameterized
Expand Down Expand Up @@ -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
):
Expand Down

0 comments on commit e3fe5b1

Please sign in to comment.