diff options
| author | Julie Qiu <julie@golang.org> | 2021-07-10 18:40:04 -0700 |
|---|---|---|
| committer | Julie Qiu <julie@golang.org> | 2021-07-20 16:02:04 +0000 |
| commit | 092665d0c0c01924c40ce0e7bdabb2620041a13b (patch) | |
| tree | e13b3cb971fa131b2091c16fca9e7c5339aabf1a /devtools/docker | |
| parent | fb6ccbb005bc9a48c7cf27985468da4b41ce3b9b (diff) | |
| download | go-x-pkgsite-092665d0c0c01924c40ce0e7bdabb2620041a13b.tar.xz | |
tests/search: add setup for testing search
A method is added for testing symbol search. See tests/README.md for set
up details and tests/search/scripts/symbolsearch.txt for an example.
These tests run in the searchtests docker container and can be run using
tests/search/run.sh
test/search/run.sh do not pass yet, since the symbol search query needs
to be fixed, but in the future they will run in CI.
For golang/go#44142
Change-Id: I0a2d6818e9874385a0bd79d668cce63495a363c3
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/333934
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Diffstat (limited to 'devtools/docker')
| -rw-r--r-- | devtools/docker/compose.yaml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/devtools/docker/compose.yaml b/devtools/docker/compose.yaml index 7b50b556..8a5e15e2 100644 --- a/devtools/docker/compose.yaml +++ b/devtools/docker/compose.yaml @@ -87,6 +87,7 @@ services: # running seeddb, but in general, migrations will have completed by the # time seeddb runs. If this ends up being flaky, we should add a check here. command: bash -c " + echo GO_DISCOVERY_CONFIG_DYNAMIC=$GO_DISCOVERY_CONFIG_DYNAMIC && ./third_party/wait-for-it/wait-for-it.sh db:5432 -- go run ./devtools/cmd/db/main.go create && go run ./devtools/cmd/db/main.go migrate && @@ -95,8 +96,6 @@ services: <<: *database-variables <<: *go-variables WAITFORIT_TIMEOUT: 300 - ports: - - 8080:8080 volumes: - ../../:/pkgsite - gomodcache:/gomodcache |
