File tree Expand file tree Collapse file tree
core/http/client/src/test/java/org/eclipse/rdf4j/http/client Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ void shouldDeriveDefaultFreeMemoryThresholdsFromMaxHeap() throws Exception {
7777 }
7878
7979 @ Test
80- void shouldThrottleExecutionContextCheckpointToEvery16384Calls () throws Exception {
80+ void shouldThrottleExecutionContextCheckpointToEvery1024Calls () throws Exception {
8181 PropertiesScope properties = new PropertiesScope ().with (QueryCircuitBreaker .ENABLED_PROPERTY , "false" );
8282 QueryCircuitBreaker breaker = QueryCircuitBreaker .getInstance ();
8383 QueryCircuitBreakerHandle handle = breaker .register (QueryCircuitBreakerHandle .Source .SERVER , "repo" ,
@@ -86,7 +86,7 @@ void shouldThrottleExecutionContextCheckpointToEvery16384Calls() throws Exceptio
8686 try {
8787 properties .apply ();
8888 try (QueryExecutionContext .Activation ignored = QueryExecutionContext .activate (handle )) {
89- for (int i = 0 ; i < 16383 ; i ++) {
89+ for (int i = 0 ; i < 1023 ; i ++) {
9090 QueryExecutionContext .checkpoint ("JOIN" );
9191 }
9292 assertEquals (-1L , handle .getLastHeavyCheckpointMillis ());
You can’t perform that action at this time.
0 commit comments