Skip to content

Commit

Permalink
Skips a flakky airflow test on macos.
Browse files Browse the repository at this point in the history
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: 365168108
  • Loading branch information
jiyongjung authored and tfx-copybara committed Mar 26, 2021
1 parent 4087f18 commit 0328dc6
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@
"""End to end test for tfx.orchestration.airflow."""

import os
import platform
import subprocess
import time
from typing import Sequence, Set, Text
import unittest

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


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

Expand Down

0 comments on commit 0328dc6

Please sign in to comment.