Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 9def2f9

Browse files
authored
Merge branch 'master' into fixes/2218-clone-on-first-launch
2 parents 5eec978 + be614d6 commit 9def2f9

File tree

4 files changed

+15
-10
lines changed

4 files changed

+15
-10
lines changed

azure-pipelines.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff 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:
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
using NUnit.Framework;
2+
3+
[assembly: Timeout(10000)] // Set a 10 second timeout for all tests

test/GitHub.InlineReviews.UnitTests/Services/PullRequestSessionManagerTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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

test/test.runsettings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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>

0 commit comments

Comments
 (0)