[x] Added tests for code changes or test/build only changes
[x] Updated the change log file (CHANGES.md|CHANGELOG.md) or test/build only changes
[x] Completed the PR template below:
Description
Some of the tests assert on streaming response data in the data callback. This can cause a failure since the assertion will fail in a case where there's more than one chunk of streaming data. This PR concatenates the streaming data then asserts once the stream is completed in end block.
Approach
Create a responseString variable to hold the streaming data and then assert on this variable once the stream is complete
Removed failing and redundant data chunk count assertion. We are already asserting on the streaming data
Checklist
CHANGES.md
|CHANGELOG.md
) or test/build only changesDescription
Some of the tests assert on streaming response data in the
data
callback. This can cause a failure since the assertion will fail in a case where there's more than one chunk of streaming data. This PR concatenates the streaming data then asserts once the stream is completed inend
block.Approach
responseString
variable to hold the streaming data and then assert on this variable once the stream is completeSecurity and Privacy
Testing
Monitoring and Logging