increasing the number of heavy load steps to make it very unlikely for such a step to complete before aborting

This commit is contained in:
Axel Uhl
2024-08-27 11:53:28 +02:00
parent 4d91e12971
commit 918c6644e9
@@ -83,7 +83,7 @@ public class TestAbortingHeavyLoadQuery {
/** The time a step of a heavy load instruction blocks the executing thread (using {@link Thread#sleep(long)}). */
private static final long HeavyLoadInstructionStepDuration = 50;
/** The number of steps a heavy load instruction performs */
private static final int HeavyLoadInstructionNumberOfSteps = 10;
private static final int HeavyLoadInstructionNumberOfSteps = 100;
/** The total time a heavy load instruction blocks the executing thread (using {@link Thread#sleep(long)}). */
private static final long HeavyLoadInstructionTotalDuration = HeavyLoadInstructionStepDuration * HeavyLoadInstructionNumberOfSteps;