Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/powershell/engine/Basic/GroupPolicySettings.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Describe 'Group policy settings tests' -Tag CI,RequireAdminOnWindows {
# usually event becomes visible in the log after ~500 ms
# set timeout for 5 seconds
Wait-UntilTrue -sb { Get-WinEvent -FilterHashtable @{ ProviderName="PowerShellCore"; Id = 4103 } -MaxEvents 5 |
Where-Object {$_.Message.Contains($RareCommand)} } -TimeoutInMilliseconds (5*1000) -IntervalInMilliseconds 100 |
Where-Object {$_.Message.Contains($RareCommand)} } -TimeoutInMilliseconds (10*1000) -IntervalInMilliseconds 100 |
Should -BeTrue
}

Expand Down