Azure / autorest.powershell

AutoRest PowerShell Generator
MIT License
110 stars 76 forks source link

Add Start-TestSleep to avoid waiting during playback mode #1285

Closed vidai-msft closed 7 months ago

vidai-msft commented 7 months ago

Currently part of the test cases invokes Start-Sleep to wait for a specific period of time until the required resources are ready. However, in the scenario test, it is absolutely not necessary during playback mode. It has increased the total amount of test execution time in the CI. In this PR, we introduce a new function called Start-TestSleep to avoid the unnecessary wait time.