This repository was archived by the owner on Jun 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +15
-10
lines changed
GitHub.InlineReviews.UnitTests Expand file tree Collapse file tree 4 files changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -48,15 +48,14 @@ steps:
4848 platform : ' $(buildPlatform)'
4949 configuration : ' $(buildConfiguration)'
5050
51- # VSTest is hanging. Skip tests for now; we're still running Appveyor which will handle the tests.
52- # - task: VSTest@2
53- # inputs:
54- # searchFolder: '$(Build.SourcesDirectory)\test'
55- # testAssemblyVer2: '**\bin\**\*Tests.dll'
56- # platform: '$(buildPlatform)'
57- # configuration: '$(buildConfiguration)'
58- # diagnosticsEnabled: true
59- # runSettingsFile: '$(Build.SourcesDirectory)\test\test.runsettings'
51+ - task : VSTest@2
52+ inputs :
53+ searchFolder : ' $(Build.SourcesDirectory)\test'
54+ testAssemblyVer2 : ' **\bin\**\*Tests.dll'
55+ platform : ' $(buildPlatform)'
56+ configuration : ' $(buildConfiguration)'
57+ diagnosticsEnabled : true
58+ runSettingsFile : ' $(Build.SourcesDirectory)\test\test.runsettings'
6059
6160- task : PublishBuildArtifacts@1
6261 inputs :
Original file line number Diff line number Diff line change 1+ using NUnit . Framework ;
2+
3+ [ assembly: Timeout ( 10000 ) ] // Set a 10 second timeout for all tests
Original file line number Diff line number Diff line change @@ -445,6 +445,7 @@ Line 2
445445 }
446446
447447 [ Test , NUnit . Framework . Category ( "CodeCoverageFlake" ) ]
448+ [ Ignore ( "This test sometimes hangs, see https://github.com/github/VisualStudio/issues/2221" ) ]
448449 public async Task UpdatesInlineCommentThreadsFromEditorContent ( )
449450 {
450451 var baseContents = @"Line 1
@@ -500,6 +501,7 @@ Line 2
500501 }
501502
502503 [ Test , NUnit . Framework . Category ( "CodeCoverageFlake" ) ]
504+ [ Ignore ( "This test sometimes hangs, see https://github.com/github/VisualStudio/issues/2221" ) ]
503505 public async Task UpdatesReviewCommentWithNewBody ( )
504506 {
505507 var baseContents = @"Line 1
@@ -553,6 +555,7 @@ Line 2
553555 }
554556
555557 [ Test ]
558+ [ Ignore ( "This test sometimes hangs, see https://github.com/github/VisualStudio/issues/2221" ) ]
556559 public async Task AddsNewReviewCommentToThread ( )
557560 {
558561 var baseContents = @"Line 1
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<RunSettings >
33 <RunConfiguration >
4- <TestSessionTimeout >120000 </TestSessionTimeout >
4+ <TestSessionTimeout >600000 </TestSessionTimeout > <!-- 10 minutes -- >
55 </RunConfiguration >
66</RunSettings >
You can’t perform that action at this time.
0 commit comments