summaryrefslogtreecommitdiffstats
path: root/tests/functest_run.sh
AgeCommit message (Collapse)AuthorFilesLines
2016-08-25Make patch for provider network when run in functestshangxdy1-9/+52
When run parser in functest, we don't know the provider network about Openstack, if use vxlan or vlan or gre as default, it may be error. So it's necessary to path the provider network definition in yaml, and select it in runtime. JIRA:PARSER-99 Change-Id: I20ae6b213870b18cee094d43ce2ba958f53b111e Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2016-08-25Modify the test script for reducing the test timeshangxdy1-73/+65
Currently in functest, when deploy a template use parser, the timeout is a constant value of 3min, It can be set according to the actual running time. Additionally, its necessary to add more debug information. JIRA:PARSER-98 Change-Id: I11b667247644dbd64ecd6e8b0b1015240301279d Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2016-08-17Fix bug:Ā authentication error when deploy vRNC with nfv tosca templateshangxdy1-32/+42
When deploy vRNC, the follow errors occured: openstack stack create -t ./vRNC_Hot_Template.yaml vRNC_Stack The request you have made requires authentication. (HTTP 401) (Request-ID: req-d0ddd5bd-5291-4b2f-ab92-95618881647a) The reason is that creating user is before creating project, and the order will be reverse. JIRA:PARSER-90 Change-Id: I890be71bfe7b2ec5f393f235c4c79c705340dfaa Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2016-08-11Merge "Add heat stack validation in integration with functest about vRNC"shangxdy1-3/+35
2016-08-11Add heat stack validation in integration with functest about vRNCshangxdy1-3/+35
As a tester; I want to known the functest result of vRNC deploy; So i add stack validation about vRNC. JIRA:PARSER-81 Change-Id: I97cb76d8f0a5dcd3ea104023149ed0a282d688c6 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2016-08-10Add parser install script for functestshangxdy1-3/+7
As a tester; I want functest prepare the test env for parser; So it 's necessary to create parser_install.sh script for functest when building docker image. JIRA:PARSER-84 Change-Id: I3cc2cbba4d90b676ca362e54242f52afc3387e72 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2016-08-09Check the user, role and project existence when reset test env.shangxdy1-34/+38
Currently when deploying stack is error in functest, it will call reset_parser_test automatically, but when the reset_parser_test itself is error, the reset of user/project/role will error again, so t's necessary to check the user, role and project existence when reset test env. JIRA:PARSER-83 Change-Id: If22ba162691ab3e4e7581e381524ac1a09dca2f5 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2016-08-09Replace -f to --template-file in heat-translator and fix errorsshangxdy1-10/+21
1. Replace -f to --template-file in heat-translator; 2. Replace heat-translator with openstack template translate later; 3. Modify echo infomations. JIRA:PARSER-82 Change-Id: I545cb4a38bcdb107c1992b6e02810a46ac9ef201 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2016-08-01Clear the test env when it is finishedshangxdy1-18/+41
As a tester; I want to return the initial state of a test caseļ¼› So i will clear the env when a testcase is finished. Change-Id: Ibeaa24d7fc29bab03d87719239fce965ef4dea26 JIRA:PARSER-71 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2016-07-23Parser integration with functest.shangxdy1-0/+161
As a nfs tosca template designer; I want to known wether the parse and translation template is correct. So i use functest project to deploy the template and validate the output template file. Change-Id: Ic2d1dba14cf6bd9544d7a57c83256248630f2047 JIRA:PARSER-69 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>