Skip to content

Fix Flaky RaterLimiterTest #4035

@adinauer

Description

@adinauer

Description

> Task :sentry:test FAILED

io.sentry.transport.RateLimiterTest > close cancels the timer FAILED
    org.awaitility.core.ConditionTimeoutException: org.awaitility.core.ConditionFactory expected (<true> or <true>) but was <false> within 10 seconds.
        at app//org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:164)
        at app//org.awaitility.core.AbstractHamcrestCondition.await(AbstractHamcrestCondition.java:86)
        at app//org.awaitility.core.ConditionFactory.until(ConditionFactory.java:939)
        at app//org.awaitility.core.ConditionFactory.untilAtomic(ConditionFactory.java:780)
        at app//org.awaitility.core.ConditionFactory.untilTrue(ConditionFactory.java:790)
        at app//io.sentry.transport.RateLimiterTest.close cancels the timer(RateLimiterTest.kt:375)

See https://github.com/getsentry/sentry-java/actions/runs/12692337474/job/35378159906

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions