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 9a316a5bcc4 [FLINK-34403][ci] Transforms VeryBigPbProtoToRowTest into
an integration test
9a316a5bcc4 is described below
commit 9a316a5bcc47da7f69e76e0c25ed257adc4298ce
Author: Matthias Pohl <[email protected]>
AuthorDate: Mon Feb 12 13:49:47 2024 +0100
[FLINK-34403][ci] Transforms VeryBigPbProtoToRowTest into an integration
test
The integration test configuration enables a bigger for test execution.
---
.../{VeryBigPbProtoToRowTest.java => VeryBigPbProtoToRowITCase.java} | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git
a/flink-formats/flink-protobuf/src/test/java/org/apache/flink/formats/protobuf/VeryBigPbProtoToRowTest.java
b/flink-formats/flink-protobuf/src/test/java/org/apache/flink/formats/protobuf/VeryBigPbProtoToRowITCase.java
similarity index 86%
rename from
flink-formats/flink-protobuf/src/test/java/org/apache/flink/formats/protobuf/VeryBigPbProtoToRowTest.java
rename to
flink-formats/flink-protobuf/src/test/java/org/apache/flink/formats/protobuf/VeryBigPbProtoToRowITCase.java
index a3e09ff34c8..ca729995a90 100644
---
a/flink-formats/flink-protobuf/src/test/java/org/apache/flink/formats/protobuf/VeryBigPbProtoToRowTest.java
+++
b/flink-formats/flink-protobuf/src/test/java/org/apache/flink/formats/protobuf/VeryBigPbProtoToRowITCase.java
@@ -25,8 +25,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 VeryBigPbProtoToRowTest {
+public class VeryBigPbProtoToRowITCase {
@Test
public void testSimple() throws Exception {