Zakelly commented on code in PR #23985:
URL: https://github.com/apache/flink/pull/23985#discussion_r1436084300
##########
flink-test-utils-parent/flink-test-utils/src/test/java/org/apache/flink/state/benchmark/StateBackendBenchmarkUtils.java:
##########
@@ -216,7 +225,7 @@ private static HeapKeyedStateBackend<Long>
createHeapKeyedStateBackend(File root
return backendBuilder.build();
}
- private static File prepareDirectory(String prefix, File parentDir) throws
IOException {
+ public static File prepareDirectory(String prefix, File parentDir) throws
IOException {
Review Comment:
Like I said in description:
> Also by the way, the StateBackendBenchmarkUtils#prepareDirectory is made
public for the de-duplication of code in RescalingBenchmarkBase in state
benchmarks.
You may see the [`RescalingBenchmarkBase#prepareDirectory`
](https://github.com/apache/flink-benchmarks/blob/e0d922cb30c3cee827cec05981befae28ec4daa3/src/main/java/org/apache/flink/state/benchmark/RescalingBenchmarkBase.java#L66).
I want to do some code abstraction there.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]