Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #51

Merged
merged 2 commits into from
Sep 22, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,20 @@ c.GetApps() // returns a map[String]fargo.Application
# Testing

Tests can be executed using docker container. See the below section to build and start
all the required containers. Once fargo container is running:
all the required containers. Once the Eureka containers are running, and fargo image is built then you can run the command as follows:

1. attach shell `docker attach fargo`
2. Checkout your test branch
3. execute `go test -v ./...`
Run:
```
docker run --rm -v "$PWD":/go/src/github.com/hudl/fargo -w /go/src/github.com/hudl/fargo hudloss/fargo:master go test -v ./...
```
Note: If you are running bash for Windows add `MSYS_NO_PATHCONV=1 ` at the beginning.

The tests may need to be run a couple of times to allow changes to propagate
between the two eureka servers. If the tests are failing, try running them again
between the two Eureka servers. If the tests are failing, try running them again
approximately 30 seconds later.

If you are adding new packages to godep you may want to update the `hudloss/fargo` image first.

# Known Issues

Until [this PR](https://github.com/mitchellh/vagrant/pull/2742) is in an
Expand Down