zhijiangW commented on a change in pull request #10375: [FLINK-14845][runtime]
Introduce data compression to reduce disk and network IO of shuffle.
URL: https://github.com/apache/flink/pull/10375#discussion_r354099895
##########
File path:
flink-runtime/src/test/java/org/apache/flink/runtime/io/network/partition/BoundedDataTestBase.java
##########
@@ -91,10 +112,10 @@ public void testWriteAndReadDataAcrossRegions() throws
Exception {
private void testWriteAndReadData(BoundedData bd) throws Exception {
final int numInts = 10_000_000;
- final int numBuffers = writeInts(bd, numInts);
+ final int numBuffers = writeInts(bd, numInts,
compressedEnabled);
bd.finishWrite();
- readInts(bd.createReader(), numBuffers, numInts);
+ readInts(bd.createReader(), numBuffers, numInts,
compressedEnabled);
Review comment:
ditto
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services