-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add integration test for stall stream protection based on aws-sdk-rus…
…t#1202 (#3874) ## Motivation and Context A follow-up on #3871, responding to [the review feedback](#3871 (review)) ## Testing - Also confirmed that reverting the change in the above PR (so that `BinLabel::Pending` becomes the top of the list) failed the integration test added to this PR, as expected. ``` 2024-10-10T19:06:56.417686Z TRACE aws_smithy_runtime::client::http::body::minimum_throughput::http_body_0_4_x: received poll pending 2024-10-10T19:06:56.417694Z DEBUG aws_smithy_runtime::client::http::body::minimum_throughput::http_body_0_4_x: current throughput: 0 B/s is below minimum: 1 B/s thread 'user_polls_pending_followed_by_data_for_every_bin_in_throughput_logs' panicked at aws-smithy-runtime/tests/stalled_stream_download.rs:252:10: response MUST NOT timeout: ThroughputBelowMinimum { expected: Throughput { bytes_read: 1, per_time_elapsed: 1s }, actual: Throughput { bytes_read: 0, per_time_elapsed: 1s } } note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace failures: user_polls_pending_followed_by_data_for_every_bin_in_throughput_logs ``` ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
- Loading branch information
1 parent
e6b154b
commit 1873874
Showing
3 changed files
with
80 additions
and
5 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "aws-smithy-runtime" | ||
version = "1.7.2" | ||
version = "1.7.3" | ||
authors = ["AWS Rust SDK Team <[email protected]>", "Zelda Hessler <[email protected]>"] | ||
description = "The new smithy runtime crate" | ||
edition = "2021" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters