Skip to content

Commit d33f020

Browse files
lllilithyangchenyangliao
andauthored
Re-open tests about register output (Azure#29102)
* add name and version for output * add asset_name, asset_version, merge 2022-12-01 pr * resolve comments * add test and modify related codes * refine code * fix failed test * fix comments * fix condition._port_name * fix test and some comments * revert the modification of compute * fix comments * fix pylint error, add tests for CommandJob, Spark, Parallel, Sweep * delete one test, will add in another pr * modify error message * re-open tests --------- Co-authored-by: chenyangliao <[email protected]>
1 parent 78c330c commit d33f020

File tree

3 files changed

+269
-241
lines changed

3 files changed

+269
-241
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2816,7 +2816,6 @@ def register_both_output():
28162816
check_name_and_version(pipeline_job.jobs["sub_node"].outputs.sub_pipeine_a_output, "sub_pipeline", "v1")
28172817

28182818
@pytest.mark.disable_mock_code_hash
2819-
@pytest.mark.skip(reason="TODO (269646): Internal Server Error")
28202819
def test_register_output_for_pipeline_component(self, client: MLClient):
28212820
component = load_component(source="./tests/test_configs/components/helloworld_component.yml")
28222821
component_input = Input(type="uri_file", path="https://dprepdata.blob.core.windows.net/demo/Titanic.csv")
@@ -2849,10 +2848,6 @@ def register_both_output():
28492848
subgraph = client.components.get(name=subgraph_id[0], version=subgraph_id[1])
28502849
check_name_and_version(subgraph.jobs["node_2"].outputs["component_out_path"], "sub_pipeline_2_output", "v2")
28512850

2852-
@pytest.mark.skipif(
2853-
condition=not is_live(),
2854-
reason="TODO (2235034) x-ms-meta-name header masking fixture isn't working, so playback fails",
2855-
)
28562851
@pytest.mark.disable_mock_code_hash
28572852
# without this mark, the code would be passed with different id even when we upload the same component,
28582853
# add this mark to reuse node and further reuse pipeline

0 commit comments

Comments
 (0)