Skip to content

test: loosen assertion in test_astream_incremental.py #628

Closed

Description

@planetf1

So specifically the issue is the way the test checks (ie chunk2!=chunk1) - but since streaming is very much timing/performance related it's possible two chunks could be the same - for example two spaces. I saw this erratically when testing locally. It may depend on system performance (ie tps) etc.

That makes a lot of sense why the issue would be so rare. I would vote to loosen the assertion to validate the end result (reassembly only) as well as add the stubbed tests, assuming that the stubbed tests keep the chunk1 != chunk2 assertions.

Originally posted by @jakelorocco in #567 (comment)

Activity

  1. self-assigned this
    on Apr 10, 2026
  2. psschwei commented on May 12, 2026

    @psschwei
    Contributor

    still seeing this @planetf1 ?

  3. added a commit that references this issue on May 15, 2026
    61725c1
  4. added a commit that references this issue on May 27, 2026
    baa7faf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions