Searched refs:SHORT_TIMEOUT (Results 1 – 1 of 1) sorted by relevance
48 const val SHORT_TIMEOUT = 40L // ms in <lambda>() constant181 var delay = measureTimeMillis { assertNull(record.poll(SHORT_TIMEOUT, 0)) } in <lambda>()182 assertTrue(delay >= SHORT_TIMEOUT, "Delay $delay < $SHORT_TIMEOUT") in <lambda>()183 delay = measureTimeMillis { assertNull(record.poll(SHORT_TIMEOUT, 0) { it < 10 }) } in <lambda>()184 assertTrue(delay >= SHORT_TIMEOUT) in <lambda>()221 Thread.sleep(SHORT_TIMEOUT * 2) in <lambda>()230 assertTrue(delay in SHORT_TIMEOUT..TEST_TIMEOUT) in <lambda>()235 delay = measureTimeMillis { assertNull(record.poll(SHORT_TIMEOUT, 1)) } in <lambda>()236 assertTrue(delay >= SHORT_TIMEOUT, "Delay $delay < $SHORT_TIMEOUT") in <lambda>()238 delay = measureTimeMillis { assertNull(record.poll(SHORT_TIMEOUT, 0) { it < 10 }) } in <lambda>()[all …]