square / okio

A modern I/O library for Android, Java, and Kotlin Multiplatform.
https://square.github.io/okio/
Apache License 2.0
8.81k stars 1.18k forks source link

`AwaitSignalTest.signaled` is flaky #1509

Open JakeWharton opened 2 months ago

JakeWharton commented 2 months ago
okio.AwaitSignalTest[jvm] > signaled[BASE][jvm] FAILED
    java.lang.AssertionError: expected:<1000.0> but was:<1381.7652080000844>
        at org.junit.Assert.fail(Assert.java:89)
        at org.junit.Assert.failNotEquals(Assert.java:835)
        at org.junit.Assert.assertEquals(Assert.java:555)
        at org.junit.Assert.assertEquals(Assert.java:685)
        at okio.AwaitSignalTest.assertElapsed(AwaitSignalTest.kt:208)
        at okio.AwaitSignalTest.signaled(AwaitSignalTest.kt:57)