From ece9447c54cd832a73fca0d1d8d1013bdce8586a Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Mon, 12 Dec 2022 21:30:42 +0200 Subject: [PATCH] add another test case --- .../container_in_deployment/volumeMounts_test.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/library/common-test/tests/container_in_deployment/volumeMounts_test.yaml b/library/common-test/tests/container_in_deployment/volumeMounts_test.yaml index a8700be00a..bf2e1101ab 100644 --- a/library/common-test/tests/container_in_deployment/volumeMounts_test.yaml +++ b/library/common-test/tests/container_in_deployment/volumeMounts_test.yaml @@ -21,6 +21,16 @@ tests: - failedTemplate: errorMessage: must be defined, alternatively use the flag. + - it: should fail with empty mountPath set + set: + persistence: + vol1: + enabled: true + mountPath: + asserts: + - failedTemplate: + errorMessage: must be defined, alternatively use the flag. + - it: should pass with enabled false documentIndex: *deploymentDoc set: