Skip to content

Commit 9901523

Browse files
sduvvuri1603thc1006
authored andcommitted
Refine optional Kubernetes runtime test pipeline (#12399)
* Refine optional Kubernetes runtime test pipeline Signed-off-by: sduvvuri1603 <[email protected]> * adding test data entry for missing Kubernetes optional inputs pipeline Signed-off-by: sduvvuri1603 <[email protected]> * adding test data entry for missing Kubernetes optional inputs pipeline Signed-off-by: sduvvuri1603 <[email protected]> * refactor missing optional kubernetes pipeline Signed-off-by: sduvvuri1603 <[email protected]> * test: exercise optional kubernetes helpers unconditionally Signed-off-by: sduvvuri1603 <[email protected]> --------- Signed-off-by: sduvvuri1603 <[email protected]> Signed-off-by: thc1006 <[email protected]>
1 parent 85bcdd2 commit 9901523

File tree

6 files changed

+110
-747
lines changed

6 files changed

+110
-747
lines changed

sdk/python/test/compilation/pipeline_compilation_test.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@
6666
flipcoin_pipeline as flip_coin
6767
from test_data.sdk_compiled_pipelines.valid.critical.loop_consume_upstream import \
6868
loop_consume_upstream
69+
from test_data.sdk_compiled_pipelines.valid.critical.missing_kubernetes_optional_inputs import \
70+
missing_kubernetes_optional_inputs_pipeline
6971
from test_data.sdk_compiled_pipelines.valid.critical.mixed_parameters import \
7072
crust as mixed_parameters_pipeline
7173
from test_data.sdk_compiled_pipelines.valid.critical.modelcar.modelcar import \
@@ -353,6 +355,13 @@ def __repr__(self) -> str:
353355
compiled_file_name='parameter_oneof.yaml',
354356
expected_compiled_file_path=f'{_VALID_PIPELINE_FILES}/critical/parameter_oneof.yaml'
355357
),
358+
TestData(
359+
pipeline_name='missing-kubernetes-optional-inputs',
360+
pipeline_func=missing_kubernetes_optional_inputs_pipeline,
361+
pipline_func_args=None,
362+
compiled_file_name='missing_kubernetes_optional_inputs.yaml',
363+
expected_compiled_file_path=f'{_VALID_PIPELINE_FILES}/critical/missing_kubernetes_optional_inputs.yaml'
364+
),
356365
TestData(
357366
pipeline_name='pipeline-with-env',
358367
pipeline_func=env_pipeline,

0 commit comments

Comments
 (0)