ignore perf tests that slow down C# coverage on windows

pull/6068/head
Jan Tattermusch 9 years ago
parent 57b096cc19
commit db45aa8a94
  1. 6
      src/csharp/Grpc.Core.Tests/PInvokeTest.cs

@ -74,6 +74,8 @@ namespace Grpc.Core.Tests
/// (~110ns .NET Windows) /// (~110ns .NET Windows)
/// </summary> /// </summary>
[Test] [Test]
[Category("Performance")]
[Ignore("Prevent running on Jenkins")]
public void NativeCallbackBenchmark() public void NativeCallbackBenchmark()
{ {
OpCompletionDelegate handler = Handler; OpCompletionDelegate handler = Handler;
@ -95,6 +97,8 @@ namespace Grpc.Core.Tests
/// (~1.1us on .NET Windows) /// (~1.1us on .NET Windows)
/// </summary> /// </summary>
[Test] [Test]
[Category("Performance")]
[Ignore("Prevent running on Jenkins")]
public void NewNativeCallbackBenchmark() public void NewNativeCallbackBenchmark()
{ {
counter = 0; counter = 0;
@ -112,6 +116,8 @@ namespace Grpc.Core.Tests
/// (~46ns .NET Windows) /// (~46ns .NET Windows)
/// </summary> /// </summary>
[Test] [Test]
[Category("Performance")]
[Ignore("Prevent running on Jenkins")]
public void NopPInvokeBenchmark() public void NopPInvokeBenchmark()
{ {
BenchmarkUtil.RunBenchmark( BenchmarkUtil.RunBenchmark(

Loading…
Cancel
Save