summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--robot/resources/aai/models.robot2
-rw-r--r--robot/testsuites/post-install-tests.robot2
2 files changed, 4 insertions, 0 deletions
diff --git a/robot/resources/aai/models.robot b/robot/resources/aai/models.robot
index d8de2a40..4c392d6e 100644
--- a/robot/resources/aai/models.robot
+++ b/robot/resources/aai/models.robot
@@ -14,5 +14,7 @@ Validate Size Of AAI Models
[Documentation] Query and Validates A&AI Models
[Arguments] ${min_size}=100
${resp}= AAI.Run Get Request ${AAI_FRONTEND_ENDPOINT} ${INDEX_PATH}${MODELS_SPEC_PATH} auth=${GLOBAL_AAI_AUTHENTICATION}
+ Should Be Equal As Strings ${resp.status_code} 200
${count}= Evaluate sys.getsizeof(${resp.json()}) sys
+ # ${count} is number of objects in array
Should Be True ${count} > ${min_size}
diff --git a/robot/testsuites/post-install-tests.robot b/robot/testsuites/post-install-tests.robot
index c11fd7b8..06636b7e 100644
--- a/robot/testsuites/post-install-tests.robot
+++ b/robot/testsuites/post-install-tests.robot
@@ -6,6 +6,7 @@ Documentation Testing Installation
Test Timeout 10 second
Resource ../resources/mr_interface.robot
+Resource ../resources/aai/models.robot
*** Test Cases ***
@@ -16,4 +17,5 @@ Basic DMAAP Message Router ACL Update Test
Basic AAI Service Design Models Size Test
[Tags] aaimodels postinstall
+ [Timeout] 60
Validate Size Of AAI Models