Skip to content

Commit

Permalink
Make test script run tests in parallel [#154073889]
Browse files Browse the repository at this point in the history
Signed-off-by: JT Archie <jarchie@pivotal.io>
  • Loading branch information
anEXPer authored and JT Archie committed Jan 26, 2018
1 parent b9f3e1d commit 036850d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/test
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ popd
pushd "$(dirname "$0")/../tests"
go get github.com/Masterminds/glide
glide install
ginkgo -r "$@"
ginkgo -r -p "$@"
popd
9 changes: 9 additions & 0 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ To then run the tests locally:
```sh
BOSH_ENVIRONMENT=vbox scripts/test
```
Note that this will run tests in parallel
(with the `-p` ginkgo flag).
Any arguments passed to `scripts/test`
will be passed on to Ginkgo;
if you wish to run with only a single node,
you can override the `-p` with `-nodes=1`.

To run only a specific test,
see https://onsi.github.io/ginkgo/#focused-specs.

## Notes
Because this release is almost entirely composed of bosh templates,
Expand Down

0 comments on commit 036850d

Please sign in to comment.