mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-20 04:35:32 +00:00
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:
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user