Skip to content

Commit c307891

Browse files
committed
wait for external indexing server before benchmark
1 parent c4badd3 commit c307891

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

ci/scripts/run-benchmarks.sh

+7-1
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,17 @@ echo "host all all ::1/128 trust" >>
1717

1818
POSTGRES_HOST_AUTH_METHOD=trust /usr/lib/postgresql/$PG_VERSION/bin/postgres 1>/tmp/pg-out.log 2>/tmp/pg-error.log &
1919
wait_for_pg
20+
21+
# wait for external indexing server
22+
while ! nc -z localhost 8998; do
23+
sleep 0.1
24+
done
25+
2026
cd $WORKDIR/lantern_hnsw/build
2127

2228
export DATABASE_URL=postgresql://localhost:5432/postgres
2329
export LANTERN_DATABASE_URL=postgresql://localhost:5432/postgres
24-
git clone https://github.com/lanterndata/benchmark -b varik/fix-external-indexing
30+
git clone https://github.com/lanterndata/benchmark
2531
cd benchmark
2632
pip install -r core/requirements.txt
2733
pip install -r external/requirements.txt

0 commit comments

Comments
 (0)