Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
sebassem committed Oct 12, 2023
1 parent 2092848 commit 5495a12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/pester/full.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Describe "Bicep Landing Zone (Sub) Vending Tests" {
$roleAssignment = Get-AzRoleAssignment -Scope "/subscriptions/$subId" -RoleDefinitionName "Reader" -ObjectId "7eca0dca-6701-46f1-b7b6-8b424dab50b3" -ErrorAction SilentlyContinue
if ($null -eq $roleAssignment) {
Write-Host "Waiting for Subscription Role Assignments to be eventually consistent... Iteration: $($iterationCount)" -ForegroundColor Yellow
Start-Sleep -Seconds 30
Start-Sleep -Seconds 20
$iterationCount++
}
} until (
Expand All @@ -86,7 +86,7 @@ Describe "Bicep Landing Zone (Sub) Vending Tests" {
$roleAssignment = Get-AzRoleAssignment -Scope "/subscriptions/$subId/resourceGroups/rsg-$location-net-hs-pr-$prNumber" -RoleDefinitionName "Network Contributor" -ObjectId "7eca0dca-6701-46f1-b7b6-8b424dab50b3" -ErrorAction SilentlyContinue
if ($null -eq $roleAssignment) {
Write-Host "Waiting for Resource Group Role Assignments to be eventually consistent... Iteration: $($iterationCount)" -ForegroundColor Yellow
Start-Sleep -Seconds 30
Start-Sleep -Seconds 20
$iterationCount++
}
} until (
Expand Down

0 comments on commit 5495a12

Please sign in to comment.