Skip to content

Commit d05c6f2

Browse files
committed
Increase the timeout when waiting for the xrootd server to start
10 seconds is not always sufficient. Here is a test run on ricci.debian.org, the Debian riscv64 porter box: 22: xrootd daemon PID: 4157210 22: XRootD logs are available at /.../xrootd-s3-http-0.2.1/obj-riscv64-linux-gnu/tests/basic/server.log 22: Waiting for xrootd to start (2 seconds so far) ... 22: Waiting for xrootd to start (3 seconds so far) ... 22: Waiting for xrootd to start (4 seconds so far) ... [ ... ] 22: Waiting for xrootd to start (25 seconds so far) ... 22: Waiting for xrootd to start (26 seconds so far) ... 22: Waiting for xrootd to start (27 seconds so far) ... 22: xrootd started at https://ricci:39891/
1 parent c285514 commit d05c6f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/s3-setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ while [ -z "$MINIO_URL" ]; do
167167
if [ $IDX -gt 1 ]; then
168168
echo "Waiting for minio to start ($IDX seconds so far) ..."
169169
fi
170-
if [ $IDX -eq 10 ]; then
170+
if [ $IDX -eq 60 ]; then
171171
echo "minio failed to start - failing"
172172
exit 1
173173
fi

test/xrdhttp-setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ while [ -z "$XROOTD_URL" ]; do
189189
if [ $IDX -gt 1 ]; then
190190
echo "Waiting for xrootd to start ($IDX seconds so far) ..."
191191
fi
192-
if [ $IDX -eq 10 ]; then
192+
if [ $IDX -eq 60 ]; then
193193
echo "xrootd failed to start - failing"
194194
exit 1
195195
fi

0 commit comments

Comments
 (0)