From 1bcd907ed1942a8872f33a1dd679850870315923 Mon Sep 17 00:00:00 2001 From: Inga Lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Mon, 17 Jul 2017 16:37:15 +0300 Subject: [PATCH] Disabled performance tests running on appveyor --- Tests/Hasher.SHA1/HasherTests.cs | 1 + appveyor.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Tests/Hasher.SHA1/HasherTests.cs b/Tests/Hasher.SHA1/HasherTests.cs index 0787312..8b15098 100644 --- a/Tests/Hasher.SHA1/HasherTests.cs +++ b/Tests/Hasher.SHA1/HasherTests.cs @@ -31,6 +31,7 @@ // Single-threaded SHA1 performance on i5-6500 is around 500MB/s [Theory] + [Trait("Category", "Integration")] [InlineData(0)] [InlineData(1)] [InlineData(1000)] diff --git a/appveyor.yml b/appveyor.yml index d1428a9..533f16b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,5 +5,5 @@ before_build: build: verbosity: minimal test_script: -- cmd: dotnet test tests\Encryptor.ClearText\EternalArrowBackup.Encryptor.ClearText.Tests.csproj -- cmd: dotnet test tests\Hasher.SHA1\EternalArrowBackup.Hasher.SHA1.Tests.csproj +- cmd: dotnet test --filter Category!=Integration tests\Encryptor.ClearText\EternalArrowBackup.Encryptor.ClearText.Tests.csproj +- cmd: dotnet test --filter Category!=Integration tests\Hasher.SHA1\EternalArrowBackup.Hasher.SHA1.Tests.csproj