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 byte buffer being cleared during replay #690

Merged
merged 1 commit into from Mar 31, 2022

Conversation

jhendrixMSFT
Copy link
Member

The addition of NewBodyWithBytes didn't account for reset() being called
during playback, causing the original body to be lost.
Preserve data source for []byte and string.
Renamed private vars to clarify their usage.

Fixes #665

The addition of NewBodyWithBytes didn't account for reset() being called
during playback, causing the original body to be lost.
Preserve data source for []byte and string.
Renamed private vars to clarify their usage.
@jhendrixMSFT jhendrixMSFT changed the title Fix byte buffer being cleared during reply Fix byte buffer being cleared during replay Mar 30, 2022
@jhendrixMSFT jhendrixMSFT merged commit a91292d into Azure:master Mar 31, 2022
@jhendrixMSFT jhendrixMSFT deleted the mocks_bugfix branch March 31, 2022 16:15
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.

Mock bodies are lost when reset is called
2 participants