Skip to content

Commit defaf89

Browse files
authored
Merge pull request #113 from oracle/ap-integration-test-docs
Document how to run integration tests
2 parents 940e754 + 93059dc commit defaf89

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/development.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,19 @@ $ kubectl apply -f dist/oci-cloud-controller-manager.yaml
6969
$ kubectl apply -f dist/oci-cloud-controller-manager-rbac.yaml
7070
```
7171

72+
## Running the integration tests
73+
74+
Create a `cloud-provider.yaml` as detailed above, select two separate
75+
subnets for nodes, and execute the following (substituting in the node subnet
76+
OCIDs):
77+
78+
```
79+
$ OCI_CONFIG_FILE=cloud-provider.yaml \
80+
NODE_SUBNET_ONE=ocid1.subnet.oc1.phx.aa... \
81+
NODE_SUBNET_TWO=ocid1.subnet.oc1.phx.aa... \
82+
go test -timeout 45m -v ./test/integration/loadbalancer
83+
```
84+
7285
[1]: https://www.docker.com/
7386
[2]: https://github.com/golang/dep
7487
[3]: https://golang.org/

0 commit comments

Comments
 (0)