Skip to content

test: make parallel serdes assertions order independent#367

Merged
yaythomas merged 1 commit intoaws:mainfrom
Genmin:fix/parallel-test-call-order-366
May 1, 2026
Merged

test: make parallel serdes assertions order independent#367
yaythomas merged 1 commit intoaws:mainfrom
Genmin:fix/parallel-test-call-order-366

Conversation

@Genmin
Copy link
Copy Markdown
Contributor

@Genmin Genmin commented May 1, 2026

Summary

  • key parallel serialize/deserialize mock assertions by operation_id instead of observed call order
  • keep checks for child item serdes fallback and parent batch serdes

Fixes #366

Validation

  • uvx hatch test tests/operation/parallel_test.py -k "parallel_item"
  • uvx hatch test tests/operation/parallel_test.py
  • uvx hatch fmt --check
  • uvx hatch run types:check tests/operation/parallel_test.py
  • git diff --check

Copy link
Copy Markdown
Contributor

@yaythomas yaythomas left a comment

Choose a reason for hiding this comment

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

thank you so much @Genmin, great contribution, welcome to the repo! 🙇

@yaythomas yaythomas merged commit 30a4191 into aws:main May 1, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: parallel test reliability

2 participants