1 --- protobuf-3.14.0/src/google/protobuf/io/zero_copy_stream_unittest.cc.orig 2020-11-13 23:55:22.000000000 +0100
2 +++ protobuf-3.14.0/src/google/protobuf/io/zero_copy_stream_unittest.cc 2021-01-18 21:39:55.771550717 +0100
7 -// Verifies that outputs up to kint32max can be created.
8 -TEST_F(IoTest, LargeOutput) {
10 - StringOutputStream output(&str);
13 - // Repeatedly calling Next should eventually grow the buffer to kint32max.
15 - EXPECT_TRUE(output.Next(&unused_data, &size));
16 - } while (str.size() < std::numeric_limits<int>::max());
17 - // Further increases should be possible.
18 - output.Next(&unused_data, &size);
23 // To test files, we create a temporary file, write, read, truncate, repeat.