Skip to content

Commit 9f1b688

Browse files
jiyongjungtfx-copybara
jiyongjung
authored andcommitted
Skips flakky airflow test on macos.
Recent versions of Tensorflow and Airflow makes test fails with segmentation faults. Airflow doesn't support macos as an execution environment.[1] [1] apache/airflow#11965 (comment) PiperOrigin-RevId: 364952307
1 parent a50def4 commit 9f1b688

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tfx/examples/chicago_taxi_pipeline/taxi_pipeline_simple_airflow_e2e_test.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@
1414
"""End to end test for tfx.orchestration.airflow."""
1515

1616
import os
17+
import platform
1718
import subprocess
1819
import time
1920
from typing import Sequence, Set, Text
21+
import unittest
2022

2123
import absl
2224
import tensorflow as tf
@@ -54,6 +56,11 @@ def __exit__(self, exception_type, exception_value, traceback): # pylint: disab
5456
_PENDING_TASK_STATES = set(['queued', 'scheduled', 'running', 'none'])
5557

5658

59+
@unittest.skipIf(
60+
platform.system() == 'Darwin',
61+
'Airflow is not compatible with TF in some environments on macos and '
62+
'Airflow Executor is not supported on macos. See b/178137745.'
63+
)
5764
class AirflowEndToEndTest(test_case_utils.TfxTest):
5865
"""An end to end test using fully orchestrated Airflow."""
5966

0 commit comments

Comments
 (0)