Skip to content

Avoid flakes#9305

Merged
yschimke merged 1 commit into
lysine-dev:masterfrom
yschimke:avoid_race
Feb 4, 2026
Merged

Avoid flakes#9305
yschimke merged 1 commit into
lysine-dev:masterfrom
yschimke:avoid_race

Conversation

@yschimke

@yschimke yschimke commented Feb 4, 2026

Copy link
Copy Markdown
Collaborator

Saw this in CI

ConnectionCoalescingTest[jvm] > coalescedConnectionDestroyedAfterAcquire()[jvm] FAILED
    java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 0
        at java.base/java.util.ArrayList.add(ArrayList.java:484)
        at java.base/java.util.ArrayList.add(ArrayList.java:496)
        at okhttp3.FakeDns.lookup(FakeDns.kt:52)
        at okhttp3.internal.connection.RouteSelector.resetNextInetSocketAddress(RouteSelector.kt:170)
        at okhttp3.internal.connection.RouteSelector.nextProxy(RouteSelector.kt:132)
        at okhttp3.internal.connection.RouteSelector.next(RouteSelector.kt:70)
        at okhttp3.internal.connection.RealRoutePlanner.planConnect$okhttp(RealRoutePlanner.kt:168)
        at okhttp3.internal.connection.RealRoutePlanner.plan(RealRoutePlanner.kt:75)
        at okhttp3.internal.connection.SequentialExchangeFinder.find(SequentialExchangeFinder.kt:30)
        at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:304)
        at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:332)
        at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:98)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:332)
        at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:332)
        at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:72)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:332)
        at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:232)
        at okhttp3.internal.connection.RealCall.execute(RealCall.kt:187)
        at okhttp3.ConnectionCoalescingTest.coalescedConnectionDestroyedAfterAcquire(ConnectionCoalescingTest.kt:289)

@yschimke
yschimke merged commit bdb4ad2 into lysine-dev:master Feb 4, 2026
26 of 27 checks passed

@swankjesse swankjesse left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Wow!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants