Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
The ODL testcase is now fully covered by unit tests.
Change-Id: I856a40138739b148babcfa96e82da05bb83e63e1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It helps covering lines about args parsing without calling main.
It also excludes 'if __name__ == .__main__.:' from coverage.
The related unit tests are added too.
Change-Id: I8e001a9d35081000977e0e546ae505f7cf2870e6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Set flavor's page size to ANY so libvirt driver might
try to find large pages for guest RAM (either 2Mb or 1Gb),
otherwise fallback to small pages.
JIRA: FUNCTEST-684
Change-Id: I40f415ca9487c4f20416d45462eddc769df0cb9c
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
|
|
|
|
|
|
JIRA: FUNCTEST-673
Change-Id: I4b542a7693aaf7dd037e0e55dee3f22dda8df27a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
|
|
JIRA: FUNCTEST-678
Change-Id: Ia4dca2d134e91b1647694d41972d979f9b70e967
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
JIRA: FUNCTEST-673
Change-Id: If20be3c614f729c17bf6484676de7889747a98c0
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
JIRA: FUNCTEST-673
Change-Id: I153fd5ca68deffa6fd140e62f438cf6ee5404f98
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
JIRA: FUNCTEST-673
Change-Id: Ibc274edd6bc9e8aea9e124fae84d7dec481982ab
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I8be4bb72ba1d3b7eb2ba6e1edccf61d4186e07c6
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
Adding the choice, into openstack_utils,
to get openstack client with environment credentials
or with a specific credentials (new user/tenant..)
JIRA: FUNCTEST-529
Change-Id: I295808311de40f37a07b5a831852876a51f276f3
Signed-off-by: boucherv <valentin.boucher@orange.com>
|
|
JIRA: FUNCTEST-673
Change-Id: Ia37fb5a08c8fbc4a8acb666565ea887f9ae48b83
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
JIRA: FUNCTEST-673
Change-Id: I56ac66662b53593257609fa87c16df52440f7458
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
JIRA: FUNCTEST-630
Change-Id: Ia02760fd98aaab59a6cf0a90a2020b76e0c92df6
Signed-off-by: helenyao <yaohelan@huawei.com>
|
|
JIRA: FUNCTEST-542
Change-Id: I62151e60cd508a9f65cc6d6d6866947c3fac435e
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
|
|
JIRA: FUNCTEST-542
Change-Id: I5576ce5c1aecd67ad97999f412e8c049c20d8e94
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
It adds unit tests to cover ODLResultVisitor and then increases the
coverage to 78%. It also fixes a nit in details pushed to DB.
Change-Id: Ie4c31df67b5197c4273ee835242153e74b50601d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It partially reverts [1] (odl.py + test_odl.py).
[1] https://gerrit.opnfv.org/gerrit/#/c/24619/
Change-Id: Ie51ccf10f8ffa0a63086796f8bb722ef50567b2d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It allows checking testcase results and then returning an error value
to CI. Now run() should return EX_OK even if criteria is FAILED.
It also fixes an issue induced by [1].
[1] https://gerrit.opnfv.org/gerrit/#/c/24561/
Change-Id: Iaa095696f9dcb87f8cc95179b4f404b092d1e23e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
Change-Id: I51fabb809e0f446a4dcf2108af10a3f137b177d3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It has been fixed by calling [1]
[1] find ${FUNCTEST_REPO_DIR} -name "*.py" \
-not -path "*tests/unit*" |xargs grep __main__ \
|cut -d\: -f 1 |xargs chmod -c 755 &&
find ${FUNCTEST_REPO_DIR} -name "*.sh" \
|xargs grep \#\! |cut -d\: -f 1 |xargs chmod -c 755
Change-Id: I654d9221179e60ea45d1db83157c4a9aa9497b69
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
JIRA: FUNCTEST-659
Change-Id: Ic92ecddc5d0bb295b99f7ffc2ab957e80e7ea32f
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
|
|
|
|
JIRA: FUNCTEST-529
1. use keystoneauth1.session to initialize the client for each service
The keystoneauth1.session.Session class was introduced into keystoneauth1 as an attempt
to bring a unified interface to the various OpenStack clients that share common authentication
and request parameters between a variety of services.
2. update ODL case to leverage session to get the endpoint info
Change-Id: Ic8c01b9b7ed86d3bdd9f5125504bc47f46a37700
Signed-off-by: helenyao <yaohelan@huawei.com>
|
|
JIRA: FUNCTEST-546
Change-Id: I775a7274883127cc627197fda37ae8e9043b59e2
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
JIRA: FUNCTEST-550
Change-Id: I46853d1ba943a54b39b760c34c29c2b4c3b43d63
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
|
|
|
|
JIRA: FUNCTEST-570
The three new tests are:
1. healthcheck/connecton_check - Retrieves different OpenStack clients and may exercise a query function
2. healthcheck/api_check - Exercises many of the OpenStack APIs by performing basic CRUD operations
3. smoke/snaps_smoke - Creates VMs and some optionally test SSH into floating IPs
Removed configured exernal network name and replaced it with a dynamic lookup.
Fixed typo in run_tests.py
Change-Id: Icb87a77c7cdd99dd9aa3a66bcc5a25b4b5935fef
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
|
|
implement an abstract class Umbrella, and take parser for instance
JIRA: FUNCTEST-618
Change-Id: Iadf71ad49abd901b9659cb71135fc902a3b616d1
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
JIRA: FUNCTEST-630
Change-Id: I2b6d3bec67c6fe290fb2ad795a54a2dd2e3c7a0b
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
JIRA: FUNCTEST-628
1. rename the TestCasesBase into TestcaseBase
2. updated the module name to testcase_base.py
Change-Id: Ic6b5d8209098c136613a2419c3790668fdbd493e
Signed-off-by: helenyao <yaohelan@huawei.com>
|
|
Change-Id: I6e9ebc7280b24ced9b62bfa4fa38b08128febb42
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
|
|
JIRA: FUNCTEST-541
Change-Id: Ie71ba9c02e54a1ff05974ef89075b3ad7cf6f930
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
JIRA: FUNCTEST-626
Change-Id: Iaab7de65ae197939f1ef715826ba5a2b2423c205
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
JIRA: FUNCTEST-624
Change-Id: Idbd04eb4c09a3bae29f12e43b019ad095ce2cf7b
Signed-off-by: helenyao <yaohelan@huawei.com>
|
|
JIRA: FUNCTEST-533
Change-Id: Iea2ca0709f6e53201056f9145fa6020216c31f56
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
JIRA: FUNCTEST-579
Change-Id: Iaa545db70bfb76770df0a3d17871e29ce518ff2d
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
JIRA: FUNCTEST-565
Change-Id: If702831438fac97c28a1a35b1a91b81feb8397bd
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
JIRA: FUNCTEST-621
Change-Id: Ic9dd73861d84e3dbfb3e6611ffc9e5e2c09fcaed
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
JIRA: FUNCTEST-533
1. Extracted all global variables into functest_constants.py and updated all affected areas accordingly
2. Used os.path.join to replace '/' to come up with the path for better cross-platform support and improve the path accuracy
3. Removed unused variables
4. Updated the hardcoded path in Dockerfile by using variable reference
5. Removed "/" ending from all path variables
6. Updated the unit test
Change-Id: Ib30a81d1f0c83fbaef042d63c187c27bd18301bb
Signed-off-by: helenyao <yaohelan@huawei.com>
|
|
JIRA: FUNCTEST-553
We need to remove the push_to_db of the overall result
in run_tests.py in sdnvpn repo.
Change-Id: I761d9b3ddd0972bfbf1155424615aeb1c9202ad9
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|