Skip to content

Commit

Permalink
increase the upper limit of testing time (#1526)
Browse files Browse the repository at this point in the history
  • Loading branch information
nexustar authored and baurine committed Nov 8, 2023
1 parent 5916abd commit 6077554
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/_inc/run_services.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ PROJECT_DIR="$(dirname "$0")/.."
BIN="${PROJECT_DIR}/bin"

start_tidb() {
echo "+ Waiting for TiDB start, for at most 10 min..."
echo "+ Waiting for TiDB start, for at most 15 min..."

rm -rf $INTEGRATION_LOG_PATH
TIDB_VERSION=${1:-latest}
Expand All @@ -30,7 +30,7 @@ ensure_tidb() {
i=1
while ! grep "TiDB Playground Cluster is started" $INTEGRATION_LOG_PATH; do
i=$((i+1))
if [ "$i" -gt 60 ]; then
if [ "$i" -gt 90 ]; then
echo 'Failed to start TiDB'
return 1
fi
Expand Down

0 comments on commit 6077554

Please sign in to comment.