tkalkirill commented on code in PR #12981:
URL: https://github.com/apache/ignite/pull/12981#discussion_r3043395267


##########
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/db/wal/WalCompactionSwitchOnTest.java:
##########
@@ -69,57 +80,36 @@ public class WalCompactionSwitchOnTest extends 
GridCommonAbstractTest {
      */
     @Test
     public void testWalCompactionSwitch() throws Exception {
-        IgniteEx ex = startGrid(0);
+        IgniteEx n = startGrid(0);
+        n.cluster().state(ClusterState.ACTIVE);
 
-        ex.cluster().state(ClusterState.ACTIVE);
-
-        IgniteCache<Integer, Integer> cache = ex.getOrCreateCache(
+        IgniteCache<Integer, Integer> cache = n.getOrCreateCache(
             new CacheConfiguration<Integer, Integer>()
                     .setName("c1")
                     .setGroupName("g1")
                     .setCacheMode(CacheMode.PARTITIONED)
         );
 
-        for (int i = 0; i < 500; i++)
+        for (int i = 0; i < 10_000; i++)
             cache.put(i, i);

Review Comment:
   I need more records in the WAL, not optimality. The test concerns the 
segment WAL.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to