Skip to content

Commit eaf3fe3

Browse files
committed
Clean up after merge
1 parent 170b6ef commit eaf3fe3

2 files changed

Lines changed: 0 additions & 9 deletions

File tree

test/StreamJsonRpc.Tests.ExternalAssembly/StreamJsonRpc.Tests.ExternalAssembly.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
5-
<DisablePolyfills>true</DisablePolyfills>
65
<IsTestProject>false</IsTestProject>
76
</PropertyGroup>
87

test/StreamJsonRpc.Tests/TestBase.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ protected TestBase(ITestOutputHelper logger)
4242

4343
protected static CancellationToken UnexpectedTimeoutToken => new CancellationTokenSource(UnexpectedTimeout).Token;
4444

45-
protected static bool IsTestRunOnAzurePipelines => !string.IsNullOrEmpty(Environment.GetEnvironmentVariable("SYSTEM_DEFINITIONID"));
46-
4745
protected ITestOutputHelper Logger { get; }
4846

4947
protected CancellationToken TimeoutToken => Debugger.IsAttached ? CancellationToken.None : this.timeoutTokenSource.Token;
@@ -63,12 +61,6 @@ protected static void AssertCollectedObject(WeakReference weakReference)
6361
GC.Collect();
6462
GC.WaitForPendingFinalizers();
6563

66-
// For some reason the assertion tends to be sketchy when running on Azure Pipelines.
67-
if (IsTestRunOnAzurePipelines)
68-
{
69-
Assert.SkipWhen(weakReference.IsAlive, "Weak reference is still alive.");
70-
}
71-
7264
Assert.False(weakReference.IsAlive);
7365
}
7466

0 commit comments

Comments
 (0)