Skip to content

Commit 9574b9a

Browse files
committed
Updating retry partition test for expected max permits
1 parent 4525fc5 commit 9574b9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws/codegen-aws-sdk/src/test/kotlin/software/amazon/smithy/rustsdk/RetryPartitionTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ class RetryPartitionTest {
139139
) -> Result<(), #{BoxError}> {
140140
self.called.fetch_add(1, Ordering::Relaxed);
141141
let token_bucket = cfg.load::<#{TokenBucket}>().unwrap();
142-
let expected = format!("permits: {}", tokio::sync::Semaphore::MAX_PERMITS);
142+
let expected = format!("permits: 5000000000");
143143
assert!(
144144
format!("{token_bucket:?}").contains(&expected),
145145
"Expected debug output to contain `{expected}`, but got: {token_bucket:?}"

0 commit comments

Comments
 (0)