Skip to content

Commit 323e310

Browse files
committed
fix: ci
1 parent 271a0eb commit 323e310

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/lib_run.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
./testbin > output.log 2>&1 &
5858
PID=$!
5959
FOUND=false
60-
for i in $(seq 1 60); do
60+
for i in $(seq 1 600); do
6161
if grep -q '\[ws\] 连接到Websocket服务器' output.log 2>/dev/null; then
6262
FOUND=true
6363
break
@@ -74,7 +74,7 @@ jobs:
7474
echo "Success: Found target output"
7575
exit 0
7676
else
77-
echo "Failure: Timeout after 60s without finding target output"
77+
echo "Failure: Timeout after 600s without finding target output"
7878
exit 1
7979
fi
8080
@@ -86,7 +86,7 @@ jobs:
8686
$env:DEBUG_MODE = "1"
8787
$proc = Start-Process -FilePath ".\testbin.exe" -NoNewWindow -PassThru -RedirectStandardOutput "$logFile" -RedirectStandardError (Join-Path $PWD "stderr.log")
8888
$found = $false
89-
for ($i = 0; $i -lt 60; $i++) {
89+
for ($i = 0; $i -lt 600; $i++) {
9090
Start-Sleep -Seconds 1
9191
try {
9292
$content = ""
@@ -125,6 +125,6 @@ jobs:
125125
Write-Host "Success: Found target output"
126126
exit 0
127127
} else {
128-
Write-Host "Failure: Timeout after 60s without finding target output"
128+
Write-Host "Failure: Timeout after 600s without finding target output"
129129
exit 1
130130
}

0 commit comments

Comments
 (0)