Skip to content

Commit 66982d6

Browse files
authored
skip live test (Azure#27716)
1 parent 75b9cb7 commit 66982d6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

sdk/ml/azure-ai-ml/tests/dsl/e2etests/test_controlflow_pipeline.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import pytest
22

33
from test_utilities.utils import _PYTEST_TIMEOUT_METHOD, omit_with_wildcard, assert_job_cancel
4-
from devtools_testutils import AzureRecordedTestCase
4+
from devtools_testutils import AzureRecordedTestCase, is_live
55

66
from azure.ai.ml.dsl._parallel_for import parallel_for
77
from azure.ai.ml.dsl._do_while import do_while
@@ -256,6 +256,11 @@ def test_pipeline(input_data, int_param, bool_param, float_param, str_param):
256256
}
257257

258258

259+
@pytest.mark.skipif(
260+
condition=is_live(),
261+
# TODO: reopen live test when parallel_for deployed to canary
262+
reason="parallel_for is not available in canary."
263+
)
259264
class TestParallelForPipeline(TestControlFlowPipeline):
260265
def test_simple_dsl_parallel_for_pipeline(self, client: MLClient):
261266
hello_world_component = load_component(

0 commit comments

Comments
 (0)