Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

`FakeTlsTest.server handshake fails because server is closed` flaky

Open
#9,674 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
kotlin
Domain
testing

Research direction

Start with the timing assertion at FakeTlsTest.kt:263 in FakeTlsTest.server handshake fails because server is closed. Check how this test measures the handshake duration and run the test repeatedly to investigate the flaky boundary failure. Done means the test reliably passes without weakening the behavior it is intended to verify.

Written by the indexing model from the issue text.

Description

tests
FakeTlsTest > server handshake fails because server is closed() FAILED
    org.opentest4j.AssertionFailedError: expected to be between:<200ms> and <350ms> but was:<199.468586ms>
        at okhttp3.sockets.FakeTlsTest.server handshake fails because server is closed(FakeTlsTest.kt:263)
Dominant language
Kotlin
Stars
47.1k
Forks
9.3k
Avg merge
18h 18m
Merged PRs (30d)
15

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from lysine-dev/okhttp

All issues in lysine-dev/okhttp

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.