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