Skip to content

Commit c12b04a

Browse files
committed
parquet-hadoop: another test provisioned to run behind a web proxy
1 parent cbae73c commit c12b04a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

parquet-hadoop/src/test/java/org/apache/parquet/hadoop/InterOpTester.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class InterOpTester {
3737
private static final String PARQUET_TESTING_PATH = "target/parquet-testing/";
3838
private static final Logger LOG = LoggerFactory.getLogger(InterOpTester.class);
3939
// since PARQUET_TESTING_REPO might be beyond a web proxy ...
40-
private static OkHttpClient createOkHttpClientOptProxy() {
40+
public static OkHttpClient createOkHttpClientOptProxy() {
4141
/* We use a different JVM property set,
4242
* because CI may define JVM properties
4343
* "https.proxyHost" and "https.proxyPort"

parquet-hadoop/src/test/java/org/apache/parquet/hadoop/TestInteropBloomFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public class TestInteropBloomFilter {
5757
private static String DATA_INDEX_BLOOM_WITH_LENGTH_FILE = "data_index_bloom_encoding_with_length.parquet";
5858

5959
private static final Logger LOG = LoggerFactory.getLogger(TestInteropBloomFilter.class);
60-
private OkHttpClient httpClient = new OkHttpClient();
60+
private OkHttpClient httpClient = InterOpTester.createOkHttpClientOptProxy();
6161

6262
@Test
6363
public void testReadDataIndexBloomParquetFiles() throws IOException {

0 commit comments

Comments
 (0)