Hi Devs, I have added integration tests to kubernetes membership scheme[1]. This is implemented with the use of mock-server[2] to mock the kubernetes api.
The tests cover following scenarios at the moment and can be extended to cover any other scenarios. 1. Membership scheme initialization with endpoints having addresses only 2. Membership scheme initialization with endpoints having notReadyAddresses only 3. Membership scheme initialization with endpoints having addresses and notReadyAddresses. [1] https://github.com/wso2/kubernetes-artifacts/tree/9158beaa70d3ffcfdd9049fe2d3cbdd43af81b85/common/kubernetes-membership-scheme/src/test [2] http://www.mock-server.com/ -- *Thanks and Regards,* Anuruddha Lanka Liyanarachchi Software Engineer - WSO2 Mobile : +94 (0) 712762611 Tel : +94 112 145 345 a <[email protected]>[email protected]
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
