summaryrefslogtreecommitdiff
path: root/src/test/java/com/keuin/kbackupfabric/operation/backup/method/ConfiguredIncrementalBackupMethodTest.java
diff options
context:
space:
mode:
authorKeuin <[email protected]>2021-01-22 20:08:29 +0800
committerkeuin <[email protected]>2021-01-22 20:08:29 +0800
commit270dd70a0fa80fbea0f7985a551c1b453e3f9903 (patch)
tree2ea04b72edeb0c1eeb5b3f9e012448a33e8d3948 /src/test/java/com/keuin/kbackupfabric/operation/backup/method/ConfiguredIncrementalBackupMethodTest.java
parent1c23fc14be8a0ac9542f1412448c4d896756ba01 (diff)
Fix a potential bug caused by the wrong implementation of compareTo method in ObjectElement
Diffstat (limited to 'src/test/java/com/keuin/kbackupfabric/operation/backup/method/ConfiguredIncrementalBackupMethodTest.java')
-rw-r--r--src/test/java/com/keuin/kbackupfabric/operation/backup/method/ConfiguredIncrementalBackupMethodTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/java/com/keuin/kbackupfabric/operation/backup/method/ConfiguredIncrementalBackupMethodTest.java b/src/test/java/com/keuin/kbackupfabric/operation/backup/method/ConfiguredIncrementalBackupMethodTest.java
index 2b4bd94..badc744 100644
--- a/src/test/java/com/keuin/kbackupfabric/operation/backup/method/ConfiguredIncrementalBackupMethodTest.java
+++ b/src/test/java/com/keuin/kbackupfabric/operation/backup/method/ConfiguredIncrementalBackupMethodTest.java
@@ -21,9 +21,9 @@ public class ConfiguredIncrementalBackupMethodTest {
private final String destDirectoryName = "destination";
private final String indexFileName = "index";
- private final double directoryFactor = 0.03;
- private final double fileFactor = 0.04;
- private final int maxRandomFileSizeBytes = 1024 * 1024 * 4;
+ private final double directoryFactor = 0.05;
+ private final double fileFactor = 0.1;
+ private final int maxRandomFileSizeBytes = 1024 * 1024;
private final Function<Integer, Integer> scaleDecayFunc = (x) -> x - 1;
@Test