Skip to content

Commit 5e18e9f

Browse files
committed
use the latest version of BenchmarkDotNet and disable shadow copy to be able to run benchmarks
1 parent 3dc9e1a commit 5e18e9f

File tree

4 files changed

+17
-2
lines changed

4 files changed

+17
-2
lines changed

NuGet.Config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<packageSources>
4+
<add key="appveyor-bdn" value="https://ci.appveyor.com/nuget/benchmarkdotnet" />
5+
</packageSources>
6+
</configuration>

test/Exceptionless.Tests/Exceptionless.Tests.csproj

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
<ItemGroup>
1818
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" />
19-
<PackageReference Include="BenchmarkDotNet" Version="0.10.3" />
19+
<PackageReference Include="BenchmarkDotNet" Version="0.10.3.91" />
2020
<PackageReference Include="Moq" Version="4.7.1" />
2121
<PackageReference Include="xunit" Version="2.2.0" />
2222
<PackageReference Include="xunit.extensibility.core" Version="2.2.0" />
@@ -35,4 +35,10 @@
3535
<Reference Include="System" />
3636
<Reference Include="Microsoft.CSharp" />
3737
</ItemGroup>
38+
39+
<ItemGroup>
40+
<Content Include="xunit.runner.json">
41+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
42+
</Content>
43+
</ItemGroup>
3844
</Project>

test/Exceptionless.Tests/Plugins/PluginTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ private Exception GetNestedSimpleException(string message = "Test") {
880880
}
881881
}
882882

883-
[Fact (Skip = "Skip until https://github.com/dotnet/BenchmarkDotNet/issues/395 is fixed")]
883+
[Fact]
884884
public void RunBenchmark() {
885885
var summary = BenchmarkRunner.Run<DeduplicationBenchmarks>();
886886

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"shadowCopy": false
3+
}

0 commit comments

Comments
 (0)