gluster / anthill

A Kubernetes/OpenShift operator to manage Gluster clusters
http://gluster-anthill.readthedocs.io/
Apache License 2.0
35 stars 12 forks source link

e2e scaffold #50

Closed JohnStrunk closed 5 years ago

JohnStrunk commented 5 years ago

Describe what this PR does This adds some scaffolding (mostly boilerplate code) in test/e2e to support automated e2e testing for the operator. This is based on the sdk documentation, and currently the only test that's there starts the operator, waits for it to be running, then exits.

Is there anything that requires special attention? Also included in this PR is an upgrade to SDK 0.3.0. This was to get the --up-local cli so the operator can run locally during e2e. The move to 0.3.0 resulted in changes not only to deps but also some of the source files. See 689b83e.

To support the testing options of the sdk, role and rolebinding had to be split again as that's what the sdk expects when it applies them to the cluster. See f06823e.

Related issues: N/A

jarrpa commented 5 years ago

I'm not seeing any tests being added, nor anything in a test/e2e directory. Is this intentional?

JohnStrunk commented 5 years ago

git add fixed that. :)

humblec commented 5 years ago

@JohnStrunk Please check review comments.

JohnStrunk commented 5 years ago

@humblec Good to go?

humblec commented 5 years ago

@Madhu-1 any further comments from you?