This is an automated email from the ASF dual-hosted git repository.

blankensteiner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-dotpulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new cca2c83  Zstd compression test fix (#132)
cca2c83 is described below

commit cca2c83b4d2e0c878f83add984cada9679621b39
Author: Kristian Andersen <[email protected]>
AuthorDate: Fri Jan 13 13:28:14 2023 +0100

    Zstd compression test fix (#132)
    
    zstd compression in the latest version is compiled to also work on linux
---
 .../DotPulsar.Tests/Internal/Compression/ZstdCompressionTests.cs | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/tests/DotPulsar.Tests/Internal/Compression/ZstdCompressionTests.cs 
b/tests/DotPulsar.Tests/Internal/Compression/ZstdCompressionTests.cs
index 586dfa9..2487d6a 100644
--- a/tests/DotPulsar.Tests/Internal/Compression/ZstdCompressionTests.cs
+++ b/tests/DotPulsar.Tests/Internal/Compression/ZstdCompressionTests.cs
@@ -28,14 +28,7 @@ public class ZstdCompressionTests
     {
         // Arrange
         var couldLoad = ZstdCompression.TryLoading(out ICompressorFactory? 
compressorFactory, out IDecompressorFactory? decompressorFactory);
-
-        if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
-        {
-            couldLoad.Should().BeFalse();
-            return;
-        }
-        else
-            couldLoad.Should().BeTrue();
+        couldLoad.Should().BeTrue();
 
         using var compressor = compressorFactory!.Create();
         using var decompressor = decompressorFactory!.Create();

Reply via email to