Skip to content

Commit 3d0f3c5

Browse files
committed
Scenario test case fixed
1 parent e232bd6 commit 3d0f3c5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ResourceManager/LogicApp/Commands.LogicApp.Test/ScenarioTests/WorkflowRunTests.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,7 @@ function Test-StopAzureRmLogicAppRun
126126
} while ($workflow.State -ne "Enabled" -and $counter++ -lt 5)
127127

128128
Start-AzureRmLogicApp -ResourceGroupName $resourceGroupName -Name $workflowName -TriggerName "httpTrigger"
129-
130-
Sleep -seconds 2
129+
131130
$runHistory = Get-AzureRmLogicAppRunHistory -ResourceGroupName $resourceGroupName -Name $workflowName
132131

133132
Stop-AzureRmLogicAppRun -ResourceGroupName $resourceGroupName -Name $workflowName -RunName $runHistory[0].Name

0 commit comments

Comments
 (0)