Skip to content

Add unit tests for pytexera _QueueReader helper #4706

Closed

Description

@Yicong-Huang

Task Summary

amber/src/main/python/pytexera/storage/large_binary_output_stream.py ships a private _QueueReader helper that adapts a queue.Queue to a file-like read(size) interface for the background S3 upload thread. It is currently exercised only end-to-end through LargeBinaryOutputStream and has no direct unit tests. Add unit tests for _QueueReader covering chunk joining, partial reads with buffer remainder, the EOF-sentinel path, post-EOF reads, and the size=0 edge case.

Task Type

  • Testing / QA

Activity

  1. added theissue type on May 2, 2026
  2. added a commit that references this issue on May 3, 2026
    e4bc807
  3. added a commit that references this issue on May 3, 2026
    9223ddf
  4. added a commit that references this issue on Jun 22, 2026
    ae98b2b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions