Browse Source

Allow `LargeRandomData` test only on Windows

yhirose 4 years ago
parent
commit
ccbddd8842
1 changed files with 2 additions and 0 deletions
  1. 2 0
      test/test.cc

+ 2 - 0
test/test.cc

@@ -2869,6 +2869,7 @@ TEST(GzipDecompressor, ChunkedDecompression) {
   ASSERT_EQ(data, decompressed_data);
 }
 
+#ifdef _WIN32
 TEST(GzipDecompressor, LargeRandomData) {
 
   // prepare large random data that is difficult to be compressed and is
@@ -2915,6 +2916,7 @@ TEST(GzipDecompressor, LargeRandomData) {
               0);
 }
 #endif
+#endif
 
 #ifdef CPPHTTPLIB_BROTLI_SUPPORT
 TEST_F(ServerTest, GetStreamedChunkedWithBrotli) {