Skip to content

Commit 0411b02

Browse files
committed
IGNITE-13320 (minor) Test improvement.
1 parent f90b8f7 commit 0411b02

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

modules/core/src/test/java/org/apache/ignite/internal/encryption/CacheGroupReencryptionTest.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ public void testPartitionEvictionDuringReencryption() throws Exception {
385385
@Test
386386
public void testPartitionFileDestroy() throws Exception {
387387
backups = 1;
388-
pageScanRate = 1;
388+
pageScanRate = 0.2;
389389
pageScanBatchSize = 10;
390390

391391
T2<IgniteEx, IgniteEx> nodes = startTestGrids(true);
@@ -409,6 +409,10 @@ public void testPartitionFileDestroy() throws Exception {
409409

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

412+
// Set unlimited re-encryption rate.
413+
nodes.get1().context().encryption().setReencryptionRate(0);
414+
nodes.get2().context().encryption().setReencryptionRate(0);
415+
412416
checkGroupKey(CU.cacheId(cacheName()), INITIAL_KEY_ID + 1, MAX_AWAIT_MILLIS);
413417
}
414418

0 commit comments

Comments
 (0)