From 93059dcdad18f40cfa51175280669182d33b2fd2 Mon Sep 17 00:00:00 2001 From: Andrew Pryde Date: Fri, 12 Jan 2018 13:48:31 +0000 Subject: [PATCH] Document how to run integration tests --- docs/development.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/development.md b/docs/development.md index d1e694f3e2..6551eb93e8 100644 --- a/docs/development.md +++ b/docs/development.md @@ -69,6 +69,19 @@ $ kubectl apply -f dist/oci-cloud-controller-manager.yaml $ kubectl apply -f dist/oci-cloud-controller-manager-rbac.yaml ``` +## Running the integration tests + +Create a `cloud-provider.yaml` as detailed above, select two separate +subnets for nodes, and execute the following (substituting in the node subnet +OCIDs): + +``` +$ OCI_CONFIG_FILE=cloud-provider.yaml \ + NODE_SUBNET_ONE=ocid1.subnet.oc1.phx.aa... \ + NODE_SUBNET_TWO=ocid1.subnet.oc1.phx.aa... \ + go test -timeout 45m -v ./test/integration/loadbalancer +``` + [1]: https://www.docker.com/ [2]: https://github.com/golang/dep [3]: https://golang.org/