Skip to content

Commit

Permalink
trying to make orch not pending
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmrdavid committed Oct 1, 2024
1 parent 9cc91bd commit 99416d4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions test/SmokeTests/OOProcSmokeTests/DotNetIsolated/host.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,12 @@
}
}
},
"extensions": {
"durableTask": {
"storageProvider": {
"maxQueuePollingInterval": "00:00:01"
}
}
},
"functionTimeout": "00:00:30"
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,15 @@ try {
$result = Invoke-RestMethod -Method Get -Uri $statusUrl
$runtimeStatus = $result.runtimeStatus
Write-Host "Orchestration is $runtimeStatus" -ForegroundColor Yellow
Write-Host $result

if ($result.runtimeStatus -eq "Completed") {
$success = $true
Write-Host $result
break
}

Start-Sleep -Seconds 1
Start-Sleep -Seconds 2
$retryCount = $retryCount + 1
}

Expand Down

0 comments on commit 99416d4

Please sign in to comment.