Skip to content

Commit 6ed0b0d

Browse files
committed
fix test failure
1 parent d185f86 commit 6ed0b0d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

parquet-avro/src/test/java/org/apache/parquet/avro/TestReflectReadWrite.java

+6
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@
4444

4545
public class TestReflectReadWrite {
4646

47+
static {
48+
System.setProperty(
49+
"org.apache.parquet.avro.SERIALIZABLE_PACKAGES",
50+
"java.lang,java.math,java.io,java.net,org.apache.avro.reflect,org.apache.parquet.avro");
51+
}
52+
4753
@Test
4854
public void testReadWriteReflect() throws IOException {
4955
Configuration conf = new Configuration(false);

0 commit comments

Comments
 (0)