gcs icon indicating copy to clipboard operation
gcs copied to clipboard

WIP: Basic tests to verify setup and Gluster volume

Open aravindavk opened this issue 7 years ago • 0 comments

Two tests are available:

  • Setup test: Tests expected number of pods and Running status
  • CSI and Gluster volume test: Creates 1GiB gluster volume using Persistent Volume claim and runs nginx pod to verify mount and persisted data.

TODO:

  • Refactor kube functionalities as library
  • Dependencies need to be installed(pytest and kubernetes)
  • Sleeps in tests needs to be removed
  • Integrate Pytest with tox and nose similar to project https://github.com/gluster/libgfapi-python
  • Deployment of these test scripts to master node
  • Tests running infra creation

How I tested:

  • Copied /root/.kube/config from one of the node(kube1) to my local machine(/home/aravinda/.kube/config)
  • Run tests from local machine
cd gcs
pytest e2e

Signed-off-by: Aravinda VK [email protected]

aravindavk avatar Nov 23 '18 12:11 aravindavk