File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
PowerShellEditorServices.Test.E2E
PowerShellEditorServices.Test/Language Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1230,7 +1230,8 @@ await PsesLanguageClient
12301230 Assert . Equal ( 0 , evaluateResponseBody . VariablesReference ) ;
12311231 }
12321232
1233- [ SkippableFact ( Timeout = 60000 ) ]
1233+ // getCommand gets all the commands in the system, and is not optimized and can take forever on CI systems
1234+ [ SkippableFact ( Timeout = 120000 ) ]
12341235 public async Task CanSendGetCommandRequestAsync ( )
12351236 {
12361237 Skip . If ( Environment . GetEnvironmentVariable ( "TF_BUILD" ) is not null ,
Original file line number Diff line number Diff line change 2121using Microsoft . PowerShell . EditorServices . Test . Shared . References ;
2222using Microsoft . PowerShell . EditorServices . Test . Shared . SymbolDetails ;
2323using Microsoft . PowerShell . EditorServices . Test . Shared . Symbols ;
24- using Microsoft . PowerShell . EditorServices . Utility ;
2524using OmniSharp . Extensions . LanguageServer . Protocol ;
2625using OmniSharp . Extensions . LanguageServer . Protocol . Models ;
2726using Xunit ;
@@ -756,10 +755,10 @@ public async Task FindsReferencesOnEnumMember()
756755 Assert . Equal ( symbols , GetOccurrences ( FindsOccurrencesOnTypeSymbolsData . EnumMemberSourceDetails ) ) ;
757756 }
758757
759- [ SkippableFact ]
758+ // This test fetches every command in PS,
759+ [ Fact ]
760760 public async Task FindsDetailsForBuiltInCommand ( )
761761 {
762- Skip . IfNot ( VersionUtils . IsMacOS , "macOS gets the right synopsis but others don't." ) ;
763762 SymbolDetails symbolDetails = await symbolsService . FindSymbolDetailsAtLocationAsync (
764763 GetScriptFile ( FindsDetailsForBuiltInCommandData . SourceDetails ) ,
765764 FindsDetailsForBuiltInCommandData . SourceDetails . StartLineNumber ,
You can’t perform that action at this time.
0 commit comments