- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for 250ms (0.01 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
val bodySource = response.body.source() assertThat(bodySource.readByte()).isEqualTo('d'.code.toByte()) // The second byte of this request will be delayed by 750ms so we should time out after 250ms. val startNanos = System.nanoTime() bodySource.use { assertFailsWith<IOException> { bodySource.readByte() }.also { expected -> // Timed out as expected.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 147.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java
.searchTimeout("50s") .indexTimeout("200s") .bulkTimeout("300s") .indicesTimeout("150s") .clusterTimeout("250s"); SuggestSettings settings = builder.build(client, id); assertNotNull(settings); assertEquals("custom_index", builder.settingsIndexName);
Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Mon Sep 01 13:33:03 GMT 2025 - 14.4K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/DefaultIntervalControllerTest.java
final long start = System.nanoTime(); controller.delayForWaitingNewUrl(); final long elapsed = (System.nanoTime() - start) / 1000000; assertTrue("Expected at least 200ms delay", elapsed >= 180); } /** * Test that negative delay values are handled (treated as zero) */ public void test_negativeDelayValues() {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Nov 20 08:58:39 GMT 2025 - 8.1K bytes - Click Count (0)