Skip to content

Commit

Permalink
GEODE-7015: Fixing redundant copies in test
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmellawatt authored Aug 7, 2019
1 parent 2047c40 commit 08bd776
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2238,7 +2238,7 @@ public void testBucketImageProviderCacheClosesDuringBucketMove() {
RebalanceResults results = doRebalance(false, manager);

// The rebalance should have done some work since the buckets were imbalanced
assertThat(results.getTotalPrimaryTransfersCompleted() > 0).isTrue();
assertThat(results.getTotalBucketTransfersCompleted() > 0).isTrue();
});
}

Expand Down Expand Up @@ -2314,7 +2314,7 @@ public void testBucketImageProviderBouncesDuringBucketMove()
RebalanceResults results = doRebalance(false, getCache().getInternalResourceManager());

// The rebalance should have done some work since the buckets were imbalanced
assertThat(results.getTotalPrimaryTransfersCompleted() > 0).isTrue();
assertThat(results.getTotalBucketTransfersCompleted() > 0).isTrue();
});
}

Expand Down Expand Up @@ -2435,7 +2435,7 @@ private void createPersistentPartitionedRegion(String regionName, String diskSto
diskStoreFactory.setDiskDirs(diskDirs).create(diskStoreName);

PartitionAttributesFactory partitionAttributesFactory = new PartitionAttributesFactory();
partitionAttributesFactory.setRedundantCopies(1);
partitionAttributesFactory.setRedundantCopies(redundantCopies);
partitionAttributesFactory.setRecoveryDelay(-1);
partitionAttributesFactory.setStartupRecoveryDelay(-1);

Expand Down

0 comments on commit 08bd776

Please sign in to comment.