getting e2e tests working against LKE #163
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Gets e2e semi functional against an LKE cluster so we can make a release, this gets 19/20 tests working, the add/delete node test uses the terraform bits we will eventually remove and the test will get rewritten when that work is done.
Brief synopsis, this PR does...
To get tests running against an LKE cluster do the following:
export SUITE_ARGS="--region=us-sea --use-existing --timeout=5m --kubeconfig=/Users/lmonson/l/linode-cloud-controller-manager/e2e/test-cluster-kubeconfig.yaml --linode-url https://api.linode.com/"
This gets 18/20 tests to pass and you get something like the following output...
When you use TEST_ARGS and run only the http/s test using
'--focus="With HTTP updating to have HTTPS"'
you can then get that test to pass when run standalone.The final test
With Node Addition
uses the terraform to add/remove a node and we will be rewritten.TODO in another PR