Skip to content

chore: remove mock writeStatusAndHeaders shadowing in writer tests#657

Merged
sebsto merged 1 commit intoawslabs:mainfrom
manojmahapatra:test/fix-writers-mock-shadowing
Mar 4, 2026
Merged

chore: remove mock writeStatusAndHeaders shadowing in writer tests#657
sebsto merged 1 commit intoawslabs:mainfrom
manojmahapatra:test/fix-writers-mock-shadowing

Conversation

@manojmahapatra
Copy link
Collaborator

Issue #

N/A

Description of changes

  • Several test mocks in LambdaResponseStreamWriter+HeadersTests.swift implemented their own writeStatusAndHeaders(...).
  • This change is required to make the tests validate actual behavior instead of mock-only behavior.

New/existing dependencies impact assessment, if applicable

Conventional Commits

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@manojmahapatra manojmahapatra requested a review from sebsto March 2, 2026 01:19
@sebsto sebsto added the semver/none No version bump required. label Mar 2, 2026
Copy link
Collaborator

@sebsto sebsto 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 for catching this

@sebsto
Copy link
Collaborator

sebsto commented Mar 2, 2026

This PR has a draft status - I will wait for your green light to merge.

@manojmahapatra manojmahapatra marked this pull request as ready for review March 2, 2026 17:09
@manojmahapatra
Copy link
Collaborator Author

done, updated.

@manojmahapatra manojmahapatra force-pushed the test/fix-writers-mock-shadowing branch from b3fc31f to 4e05f10 Compare March 2, 2026 17:10
@sebsto sebsto merged commit 3772bd6 into awslabs:main Mar 4, 2026
97 of 98 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/none No version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants