Skip to content

Commit

Permalink
qns: use packaged wait-for-it script
Browse files Browse the repository at this point in the history
  • Loading branch information
ghedo committed Sep 4, 2024
1 parent 0ba4a74 commit 570f5b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ FROM martenseemann/quic-network-simulator-endpoint:latest as quiche-qns

WORKDIR /quiche

RUN apt-get update && apt-get install -y wait-for-it && rm -rf /var/lib/apt/lists/*

COPY --from=build \
/build/apps/target/debug/quiche-client \
/build/apps/target/debug/quiche-server \
Expand Down
2 changes: 1 addition & 1 deletion apps/run_endpoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ mkdir -p $LOG_DIR

if [ "$ROLE" == "client" ]; then
# Wait for the simulator to start up.
/wait-for-it.sh sim:57832 -s -t 30
wait-for-it sim:57832 -s -t 30
echo "## Starting quiche client..."
echo "## Client params: $CLIENT_PARAMS"
echo "## Requests: $REQUESTS"
Expand Down

0 comments on commit 570f5b9

Please sign in to comment.