-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tick-advancing test sleep primitive (#3469)
This PR creates a new time/sleep primitive for testing the minimum throughput stall protection async logic. All the previous code in the `test_util` module was split out into sub-modules, and the new code is in the `test_util::tick_advance_sleep` module. ---- _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
Showing
6 changed files
with
723 additions
and
347 deletions.
There are no files selected for viewing
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-async" | ||
version = "1.1.8" | ||
version = "1.2.0" | ||
authors = ["AWS Rust SDK Team <[email protected]>", "John DiSanti <[email protected]>"] | ||
description = "Async runtime agnostic abstractions for smithy-rs." | ||
edition = "2021" | ||
|
@@ -9,7 +9,7 @@ repository = "https://github.com/smithy-lang/smithy-rs" | |
|
||
[features] | ||
rt-tokio = ["tokio/time"] | ||
test-util = ["rt-tokio"] | ||
test-util = ["rt-tokio", "tokio/rt"] | ||
|
||
[dependencies] | ||
pin-project-lite = "0.2" | ||
|
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
Oops, something went wrong.