Blame SOURCES/protobuf-3.14-disable-IoTest.LargeOutput.patch

e4e8ba
--- a/src/google/protobuf/io/zero_copy_stream_unittest.cc.orig	2021-01-12 12:25:18.471517830 +0100
e4e8ba
+++ b/src/google/protobuf/io/zero_copy_stream_unittest.cc	2021-01-12 12:25:42.022696126 +0100
e4e8ba
@@ -712,22 +712,6 @@
e4e8ba
   }
e4e8ba
 }
e4e8ba
 
e4e8ba
-// Verifies that outputs up to kint32max can be created.
e4e8ba
-TEST_F(IoTest, LargeOutput) {
e4e8ba
-  std::string str;
e4e8ba
-  StringOutputStream output(&str);
e4e8ba
-  void* unused_data;
e4e8ba
-  int size;
e4e8ba
-  // Repeatedly calling Next should eventually grow the buffer to kint32max.
e4e8ba
-  do {
e4e8ba
-    EXPECT_TRUE(output.Next(&unused_data, &size));
e4e8ba
-  } while (str.size() < std::numeric_limits<int>::max());
e4e8ba
-  // Further increases should be possible.
e4e8ba
-  output.Next(&unused_data, &size);
e4e8ba
-  EXPECT_GT(size, 0);
e4e8ba
-}
e4e8ba
-
e4e8ba
-
e4e8ba
 // To test files, we create a temporary file, write, read, truncate, repeat.
e4e8ba
 TEST_F(IoTest, FileIo) {
e4e8ba
   std::string filename = TestTempDir() + "/zero_copy_stream_test_file";