Skip to content

Commit 66b1ef5

Browse files
test: refresh max-active-runs golden
Update the compiled workflow golden to match the reduced sleep_seconds default in the max_active_runs pipeline. Signed-off-by: sduvvuri1603 <sduvvuri@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent bd92d35 commit 66b1ef5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test_data/compiled-workflows/pipeline_with_max_active_runs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spec:
77
arguments:
88
parameters:
99
- name: components-14768a47ea03450df8698ec5acec01a1129af4b5520ef67319316215033c4d68
10-
value: '{"executorLabel":"exec-produce-message","inputDefinitions":{"parameters":{"msg":{"parameterType":"STRING"},"sleep_seconds":{"defaultValue":20,"isOptional":true,"parameterType":"NUMBER_INTEGER"}}},"outputDefinitions":{"parameters":{"Output":{"parameterType":"STRING"}}}}'
10+
value: '{"executorLabel":"exec-produce-message","inputDefinitions":{"parameters":{"msg":{"parameterType":"STRING"},"sleep_seconds":{"defaultValue":5,"isOptional":true,"parameterType":"NUMBER_INTEGER"}}},"outputDefinitions":{"parameters":{"Output":{"parameterType":"STRING"}}}}'
1111
- name: implementations-14768a47ea03450df8698ec5acec01a1129af4b5520ef67319316215033c4d68
1212
value: '{"args":["--executor_input","{{$}}","--function_to_execute","produce_message"],"command":["sh","-c","\nif
1313
! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip || python3
@@ -18,7 +18,7 @@ spec:
1818
\u003e \"$program_path/ephemeral_component.py\"\n_KFP_RUNTIME=true python3
1919
-m kfp.dsl.executor_main --component_module_path \"$program_path/ephemeral_component.py\" \"$@\"\n","\nimport
2020
kfp\nfrom kfp import dsl\nfrom kfp.dsl import *\nfrom typing import *\n\ndef
21-
produce_message(msg: str, sleep_seconds: int = 20) -\u003e str:\n import
21+
produce_message(msg: str, sleep_seconds: int = 5) -\u003e str:\n import
2222
time\n\n print(f''Processing {msg}...'')\n time.sleep(sleep_seconds)\n return
2323
msg\n\n"],"image":"python:3.9"}'
2424
- name: components-comp-for-loop-2

0 commit comments

Comments
 (0)