Myasuka commented on a change in pull request #12282:
URL: https://github.com/apache/flink/pull/12282#discussion_r429976396
##########
File path:
flink-runtime/src/test/java/org/apache/flink/runtime/state/StateBackendLoadingTest.java
##########
@@ -227,7 +228,7 @@ public void testLoadFileSystemStateBackend() throws
Exception {
final String savepointDir = new
Path(tmp.newFolder().toURI()).toString();
final Path expectedCheckpointsPath = new Path(checkpointDir);
final Path expectedSavepointsPath = new Path(savepointDir);
- final int threshold = 1000000;
+ final MemorySize threshold = MemorySize.parse("900kb");
Review comment:
I think current
[test_get_min_file_size_threshold](https://github.com/apache/flink/blob/e92b2bf19bdf03ad3bae906dc5fa3781aeddb3ee/flink-python/pyflink/datastream/tests/test_state_backend.py#L100)
should already verify it.
----------------------------------------------------------------
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]