Skip to content

Commit

Permalink
IGNITE-13320 (minor) Test improvement.
Browse files Browse the repository at this point in the history
  • Loading branch information
xtern committed Dec 4, 2020
1 parent 47f5141 commit b012793
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ public void testPartitionEvictionDuringReencryption() throws Exception {
@Test
public void testPartitionFileDestroy() throws Exception {
backups = 1;
pageScanRate = 0.5;
pageScanBatchSize = 5;
pageScanRate = 0.2;
pageScanBatchSize = 10;

T2<IgniteEx, IgniteEx> nodes = startTestGrids(true);

Expand All @@ -409,6 +409,10 @@ public void testPartitionFileDestroy() throws Exception {

assertTrue(isReencryptionInProgress(Collections.singleton(cacheName())));

// Set unlimited re-encryption rate.
nodes.get1().context().encryption().setReencryptionRate(0);
nodes.get2().context().encryption().setReencryptionRate(0);

checkGroupKey(CU.cacheId(cacheName()), INITIAL_KEY_ID + 1, MAX_AWAIT_MILLIS);
}

Expand Down

0 comments on commit b012793

Please sign in to comment.