Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@
import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
import org.junit.Test;

import static org.apache.ignite.testframework.GridTestUtils.SF;

/**
*
*/
Expand All @@ -74,6 +72,9 @@ public class CheckpointBufferDeadlockTest extends GridCommonAbstractTest {
/** Pages touched under CP lock. */
private static final int PAGES_TOUCHED_UNDER_CP_LOCK = 20;

/** Four checkpoint threads test iterations. */
private static final int FOUR_CHECKPOINT_THREADS_ITERATIONS = 3;

/** Slop load flag. */
private static final AtomicBoolean stop = new AtomicBoolean(false);

Expand Down Expand Up @@ -135,7 +136,7 @@ public class CheckpointBufferDeadlockTest extends GridCommonAbstractTest {
public void testFourCheckpointThreads() throws Exception {
checkpointThreads = 4;

for (int i = 0; i < SF.applyLB(10, 3); i++) {
for (int i = 0; i < FOUR_CHECKPOINT_THREADS_ITERATIONS; i++) {
beforeTest();

try {
Expand Down