aboutsummaryrefslogtreecommitdiffstats
path: root/robot/testsuites
diff options
context:
space:
mode:
authorKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2022-03-23 10:29:20 +0100
committerKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2022-03-25 12:06:49 +0000
commit83837dc5af3df7d89541fee2f6c933369c419c6d (patch)
tree9849faf4ad42eee751f122306e2f64a1e9080b9d /robot/testsuites
parent86c25a966bcaae4beb57c54d3b54e37dca230b7c (diff)
[ROBOT] Adopt DCAEMOD test cases to helm based deployment
Adopt DCAEMOD test cases to helm based deployment Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> Issue-ID: INT-1895 Change-Id: Id09932899f11ab37b391709c580d681674705432
Diffstat (limited to 'robot/testsuites')
-rw-r--r--robot/testsuites/dcaemod.robot8
1 files changed, 4 insertions, 4 deletions
diff --git a/robot/testsuites/dcaemod.robot b/robot/testsuites/dcaemod.robot
index 03de1cc3..681a0536 100644
--- a/robot/testsuites/dcaemod.robot
+++ b/robot/testsuites/dcaemod.robot
@@ -6,7 +6,7 @@ Library OperatingSystem
Resource ../resources/dcaemod_interface.robot
Suite Setup Configure Nifi Registry And Distribution Target
Suite Teardown Delete Nifi Registry And Distribution Target
-Test Teardown Delete Process Group And Blueprint And Deployment
+Test Teardown Delete Process Group And Deployment
*** Variables ***
@@ -60,7 +60,7 @@ Deploy DCAE Simple Application With Config Map In Config Spec Json But Not Prese
${podYaml} = Get Pod Yaml ${compSpecName}
Verify If Volume Is Mounted ${podYaml} ${volumeMountPath}
Verify If Config Map Is Mounted As Volume ${podYaml} ${configMapName}
- ${mountedFolderContent} = Get Content Of Mounted Folder Inside Container ${compSpecName} ${volumeMountPath}
+ ${mountedFolderContent}= Wait Until Keyword Succeeds 1 min 10s Get Content Of Mounted Folder Inside Container ${compSpecName} ${volumeMountPath}
Verify If Mounted Folder Is Empty ${mountedFolderContent}
Deploy DCAE Simple Application With Config Map In Config Spec Json AND Present In K8s
@@ -91,7 +91,7 @@ Deploy DCAE Simple Application With Config Map In Config Spec Json AND Present I
Create File ${CONFIG_MAP_FILE} ${content}
Create Config Map From File ${configMapName} ${CONFIG_MAP_FILE}
Deploy DCAE Application ${COMPSPEC_WITH_CONFIG_VOLUME} ${dict_values} ${compSpecName} ${processGroupName}
- Verify If Mounted Folder Contains File ${compSpecName} ${configMapFile} ${volumeMountPath}
+ Wait Until Keyword Succeeds 1 min 10s Verify If Mounted Folder Contains File ${compSpecName} ${configMapFile} ${volumeMountPath}
Verify File Content ${compSpecName} ${volumeMountPath}/${CONFIG_MAP_FILE} ${content}
- [Teardown] Run Keywords Delete Process Group And Blueprint And Deployment AND Delete Config Map With Mounted Config File
+ [Teardown] Run Keywords Delete Process Group And Deployment AND Delete Config Map With Mounted Config File