Skip to content

Commit 2f59a15

Browse files
committed
Try thread dumping with curl connection timeout.
1 parent c333cce commit 2f59a15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy/tasks/buildah-oci-ta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,9 +518,9 @@ spec:
518518
519519
# With expansion
520520
cat >> /app/build-script.sh << EOF
521-
for ((i=1; i<=10000; i++)); do
521+
for ((i=1; i<=30; i++)); do
522522
echo "request #$i"
523-
curl -v -x http://localhost:8080 "http://${CACHE_HOST}/v2/cache/rebuild-central/1658389751000/org/sonatype/oss/oss-parent/7/oss-parent-7.pom"
523+
curl --max-time 30 -v -x http://localhost:8080 "http://${CACHE_HOST}/v2/cache/rebuild-central/1658389751000/org/sonatype/oss/oss-parent/7/oss-parent-7.pom"
524524
sleep 0.1
525525
done
526526
EOF

0 commit comments

Comments
 (0)