From 21f7f367564be842f3962c1af3869972aae56538 Mon Sep 17 00:00:00 2001 From: Steve Lee Date: Fri, 28 Jul 2017 17:47:56 -0700 Subject: [PATCH] Make invoke-item test `Feature` and increase timeout (#4382) --- .../Microsoft.PowerShell.Utility/Invoke-Item.Tests.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/powershell/Modules/Microsoft.PowerShell.Utility/Invoke-Item.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.Utility/Invoke-Item.Tests.ps1 index 8405dc530..2f7250fc6 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.Utility/Invoke-Item.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.Utility/Invoke-Item.Tests.ps1 @@ -1,6 +1,6 @@ using namespace System.Diagnostics -Describe "Invoke-Item basic tests" -Tags "CI" { +Describe "Invoke-Item basic tests" -Tags "Feature" { BeforeAll { $powershell = Join-Path $PSHOME -ChildPath powershell @@ -36,7 +36,7 @@ Describe "Invoke-Item basic tests" -Tags "CI" { Invoke-Item -Path $TestFile $startTime = Get-Date $title = [String]::Empty - while (((Get-Date) - $startTime).TotalSeconds -lt 10 -and ($title -ne $expectedTitle)) + while (((Get-Date) - $startTime).TotalSeconds -lt 30 -and ($title -ne $expectedTitle)) { Start-Sleep -Milliseconds 100 $title = 'tell application "TextEdit" to get name of front window' | osascript