Skip to content

Commit a88373e

Browse files
committed
refresh
1 parent 70074b2 commit a88373e

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

Diff for: .github/workflows/ci.yml

-6
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,6 @@ jobs:
4949
pypgstac load items .github/workflows/data/noaa-eri-nashville2020.json --dsn postgresql://username:[email protected]:5439/postgis --method insert_ignore
5050
psql postgresql://username:[email protected]:5439/postgis -f .github/workflows/data/my_data.sql
5151
52-
# see https://github.com/developmentseed/tipg/issues/37
53-
- name: Restart the Vector service
54-
run: |
55-
docker compose stop vector
56-
docker compose -d vector
57-
5852
- name: Sleep for 10 seconds
5953
run: sleep 10s
6054
shell: bash

Diff for: .github/workflows/tests/test_vector.py

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88
def test_vector_api():
99
"""test vector."""
10+
# make sure that catalog is Up to Date
11+
_ = httpx.get(f"{vector_endpoint}/refresh")
12+
1013
# landing
1114
resp = httpx.get(f"{vector_endpoint}/")
1215
assert resp.status_code == 200

Diff for: docker-compose.yml

+1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ services:
105105
- POSTGRES_PORT=5432
106106
- DB_MIN_CONN_SIZE=1
107107
- DB_MAX_CONN_SIZE=10
108+
- EOAPI_VECTOR_DEBUG=TRUE
108109
command:
109110
bash -c "bash /tmp/scripts/wait-for-it.sh -t 120 -h database -p 5432 && /start.sh"
110111
depends_on:

0 commit comments

Comments
 (0)