DESCRIPTION

CBQE-3638 : [CBAS] Automate functional testcases

Change-Id: Ia81ce7e39d64247b40ee6232788d9af48b845a7f


COMMENTS

author: Alissa Huang
date: 2016-10-07 07:05:44.980000000

Uploaded patch set 1.

-------------------------------------
author: Esperanza Cherry
date: 2016-10-11 16:05:06.640000000

Patch Set 1: Code-Review-1

(10 comments)

Line:27, pytests/cbas/cbas_functional_tests.py -> self.assertTrue(result, "what is wrong...")

Line:42, pytests/cbas/cbas_functional_tests.py -> you can pass self.expected_error directly in create_bucket_on_cbas method

Line:65, pytests/cbas/cbas_functional_tests.py -> the same

Line:99, pytests/cbas/cbas_functional_tests.py -> it's better to provide more descriptive message

Line:121, pytests/cbas/cbas_functional_tests.py -> the same

Line:129, pytests/cbas/cbas_functional_tests.py -> it's better to provide more descriptive message

Line:154, pytests/cbas/cbas_functional_tests.py -> the same

Line:194, pytests/cbas/cbas_functional_tests.py -> the same

Line:264, pytests/cbas/cbas_functional_tests.py -> the same

Line:21, conf/cbas/py-cbas-functional-tests.conf -> can we replace hardcoded values inside the code. for example:
cb_server_ip=CBAS_SERVER,error=connection timed out: /CB_SERVER:8091

and then when we reade the params do like:
cb_server_ip = self.input.param('cb_server_ip').replace('CBAS_SERVER', self.cbas_server)
error = self.input.param('cb_server_ip').replace('CB_SERVER', self.master)

-------------------------------------
author: Tate Garrett
date: 2016-10-13 03:34:25.069000000

Change has been successfully cherry-picked as aa83d456d20e84fff917c604260222737646b3f1 by Alissa Huang

-------------------------------------
