Skip to content

Commit

Permalink
Renamed the test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Ark-kun committed Feb 10, 2020
1 parent 5138b5b commit 16493ab
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions sdk/python/tests/compiler/compiler_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -783,8 +783,8 @@ def test_withparam_output_dict(self):
def test_withparam_lightweight_out(self):
self._test_py_compile_yaml('loop_over_lightweight_output')

def test_parallelfor_name_clashes(self):
self._test_py_compile_yaml('parallelfor_name_clashes')
def test_parallelfor_item_argument_resolving(self):
self._test_py_compile_yaml('parallelfor_item_argument_resolving')

def test_py_input_artifact_raw_value(self):
"""Test pipeline input_artifact_raw_value."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def consume(param1):


@kfp.dsl.pipeline()
def parallelfor_name_clashes_pipeline():
def parallelfor_item_argument_resolving():
produce_str_task = produce_str()
produce_list_of_strings_task = produce_list_of_strings()
produce_list_of_ints_task = produce_list_of_ints()
Expand All @@ -80,5 +80,5 @@ def parallelfor_name_clashes_pipeline():

if __name__ == '__main__':
import kfp.compiler as compiler
compiler.Compiler().compile(parallelfor_name_clashes_pipeline, __file__ + '.yaml')
compiler.Compiler().compile(parallelfor_item_argument_resolving, __file__ + '.yaml')

Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
annotations:
pipelines.kubeflow.org/pipeline_spec: "{\"name\": \"Parallelfor name clashes pipeline\"}"
generateName: parallelfor-name-clashes-pipeline-
pipelines.kubeflow.org/pipeline_spec: "{\"name\": \"Parallelfor item argument resolving pipeline\"}"
generateName: parallelfor-item-argument-resolving-
spec:
arguments:
parameters: []
entrypoint: parallelfor-name-clashes-pipeline
entrypoint: parallelfor-item-argument-resolving
serviceAccountName: pipeline-runner
templates:
-
Expand Down Expand Up @@ -474,7 +474,7 @@ spec:
-
name: produce-str
template: produce-str
name: parallelfor-name-clashes-pipeline
name: parallelfor-item-argument-resolving
-
container:
args:
Expand Down

0 comments on commit 16493ab

Please sign in to comment.