Skip to content

Commit

Permalink
tests/README.md: add troubleshooting advice
Browse files Browse the repository at this point in the history
Add a paragraph to deal with a condition that I have encountered
on my machine.

Change-Id: Ie03a0e8ab4030973cdec8e84cd5877234830b8de
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/626856
LUCI-TryBot-Result: Go LUCI <[email protected]>
kokoro-CI: kokoro <[email protected]>
Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
Reviewed-by: Robert Findley <[email protected]>
  • Loading branch information
jba committed Nov 13, 2024
1 parent 71b0feb commit dbac787
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,10 @@ If the tests fail with diffs, a file with the diffs will be created in the
testdata directory that show the cause of the failure.

Use `./devtools/docker/compose.sh logs` to get detailed logs of the docker containers.

### Troubleshooting

If docker fails with "connect: cannot assign requested address" during `run.sh`,
try running it again. It will eventually succeed. Do not pass the '-rm' flag so that
prior state is preserved.
You can also try reducing the value of cmdgonetlimit in devtools/docker/compose.yaml.

0 comments on commit dbac787

Please sign in to comment.