Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Address flaky integration test #130

Merged
merged 1 commit into from
Feb 14, 2024

Commits on Feb 6, 2024

  1. fix: Address flaky integration test

    Trying to figure this one out, I read up again on the [documentation] of
    `StreamWriter.read()` and took extra note of this passage.
    
    [documentation]: https://docs.python.org/3/library/asyncio-stream.html#asyncio.StreamReader.read
    
    > [...] return at most n available bytes as soon as at least 1 byte is
    > available in the internal buffer.
    
    After switching to use `.readexactly()` instead, the error
    systematically stops ocurring.
    aiven-anton committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    c36685e View commit details
    Browse the repository at this point in the history