Skip to content

Commit

Permalink
Merge pull request kubernetes#2047 from johnarok/johnarok-patch-testi…
Browse files Browse the repository at this point in the history
…ngtimeoutinfo

Add note on KUBE_TIMEOUT to resolve timeout panic
  • Loading branch information
k8s-ci-robot authored Apr 16, 2018
2 parents b092b6a + d9ed605 commit 1a65632
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions contributors/devel/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ cd kubernetes
make test # Run all unit tests.
```

If any unit test fails with a timeout panic (see [#1594](https://github.com/kubernetes/community/issues/1594)) on the testing package, you can increase the `KUBE_TIMEOUT` value as shown below.

```sh
make test KUBE_TIMEOUT=-timeout 300s
```

### Set go flags during unit tests

You can set [go flags](https://golang.org/cmd/go/) by setting the
Expand Down

0 comments on commit 1a65632

Please sign in to comment.