File tree 2 files changed +4
-4
lines changed
PowerShellEditorServices.Test/Language
PowerShellEditorServices.Test.E2E
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1230,7 +1230,8 @@ await PsesLanguageClient
1230
1230
Assert . Equal ( 0 , evaluateResponseBody . VariablesReference ) ;
1231
1231
}
1232
1232
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 ) ]
1234
1235
public async Task CanSendGetCommandRequestAsync ( )
1235
1236
{
1236
1237
Skip . If ( Environment . GetEnvironmentVariable ( "TF_BUILD" ) is not null ,
Original file line number Diff line number Diff line change 21
21
using Microsoft . PowerShell . EditorServices . Test . Shared . References ;
22
22
using Microsoft . PowerShell . EditorServices . Test . Shared . SymbolDetails ;
23
23
using Microsoft . PowerShell . EditorServices . Test . Shared . Symbols ;
24
- using Microsoft . PowerShell . EditorServices . Utility ;
25
24
using OmniSharp . Extensions . LanguageServer . Protocol ;
26
25
using OmniSharp . Extensions . LanguageServer . Protocol . Models ;
27
26
using Xunit ;
@@ -756,10 +755,10 @@ public async Task FindsReferencesOnEnumMember()
756
755
Assert . Equal ( symbols , GetOccurrences ( FindsOccurrencesOnTypeSymbolsData . EnumMemberSourceDetails ) ) ;
757
756
}
758
757
759
- [ SkippableFact ]
758
+ // This test fetches every command in PS,
759
+ [ Fact ]
760
760
public async Task FindsDetailsForBuiltInCommand ( )
761
761
{
762
- Skip . IfNot ( VersionUtils . IsMacOS , "macOS gets the right synopsis but others don't." ) ;
763
762
SymbolDetails symbolDetails = await symbolsService . FindSymbolDetailsAtLocationAsync (
764
763
GetScriptFile ( FindsDetailsForBuiltInCommandData . SourceDetails ) ,
765
764
FindsDetailsForBuiltInCommandData . SourceDetails . StartLineNumber ,
You can’t perform that action at this time.
0 commit comments