Skip to content

Commit d61bc56

Browse files
authored
chore(ci): increase server start up wait time in interop test (#2473)
## Motivation The interop test in post-merge CI step is flaky due to the wait time between gRPC server start up and test request being too low (1 second). Example failure: https://github.com/hyperium/tonic/actions/runs/20730918623/job/59518404139 ## Solution This PR is a simple improvement to reduce the chance of failure to unblock CI. For a more fundamental fix to the root cause, we can plan accordingly as we iterate `grpc-rust`.
1 parent d112d09 commit d61bc56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interop/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ cleanup() {
6060
# regardless of why (errors, SIGTERM, etc).
6161
trap cleanup EXIT
6262

63-
sleep 1
63+
sleep 3
6464

6565
./target/debug/client --codec=prost --test_case="${JOINED_TEST_CASES}" "${ARG}"
6666

@@ -81,7 +81,7 @@ for CODEC in "${CODECS[@]}"; do
8181
SERVER_PID=$!
8282
echo ":; started tonic test server with the ${CODEC} codec."
8383

84-
sleep 1
84+
sleep 3
8585

8686
./target/debug/client --codec=prost --test_case="${JOINED_TEST_CASES}" "${ARG}"
8787

0 commit comments

Comments
 (0)