This is an automated email from the ASF dual-hosted git repository.
mapohl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new 2298e53f351 [FLINK-34403][ci] Transforms VeryBigPbRowToProtoTest into
an integration test
2298e53f351 is described below
commit 2298e53f35121602c56845ac8040439fbd1a9ff4
Author: Matthias Pohl <[email protected]>
AuthorDate: Wed Feb 14 10:34:33 2024 +0100
[FLINK-34403][ci] Transforms VeryBigPbRowToProtoTest into an integration
test
---
.../{VeryBigPbRowToProtoTest.java => VeryBigPbRowToProtoITCase.java} | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git
a/flink-formats/flink-protobuf/src/test/java/org/apache/flink/formats/protobuf/VeryBigPbRowToProtoTest.java
b/flink-formats/flink-protobuf/src/test/java/org/apache/flink/formats/protobuf/VeryBigPbRowToProtoITCase.java
similarity index 85%
rename from
flink-formats/flink-protobuf/src/test/java/org/apache/flink/formats/protobuf/VeryBigPbRowToProtoTest.java
rename to
flink-formats/flink-protobuf/src/test/java/org/apache/flink/formats/protobuf/VeryBigPbRowToProtoITCase.java
index 57e0eb71506..74c448a0cb0 100644
---
a/flink-formats/flink-protobuf/src/test/java/org/apache/flink/formats/protobuf/VeryBigPbRowToProtoTest.java
+++
b/flink-formats/flink-protobuf/src/test/java/org/apache/flink/formats/protobuf/VeryBigPbRowToProtoITCase.java
@@ -26,8 +26,11 @@ import org.junit.Test;
/**
* Test for very huge proto definition, which may trigger some special
optimizations such as code
* splitting and java constant pool size optimization.
+ *
+ * <p>Implementing this test as an {@code ITCase} enables larger heap size for
the test execution.
+ * The current unit test execution configuration would cause {@code
OutOfMemoryErrors}.
*/
-public class VeryBigPbRowToProtoTest {
+public class VeryBigPbRowToProtoITCase {
@Test
public void testSimple() throws Exception {