diff --git a/aws/rust-runtime/aws-config/src/default_provider/credentials.rs b/aws/rust-runtime/aws-config/src/default_provider/credentials.rs index 70b5725d0b..7f04b334b5 100644 --- a/aws/rust-runtime/aws-config/src/default_provider/credentials.rs +++ b/aws/rust-runtime/aws-config/src/default_provider/credentials.rs @@ -298,7 +298,9 @@ mod test { make_test!(ecs_credentials); make_test!(ecs_credentials_invalid_profile); + #[cfg(feature = "credentials-sso")] make_test!(sso_assume_role); + #[cfg(feature = "credentials-sso")] make_test!(sso_no_token_file); #[tokio::test] diff --git a/aws/rust-runtime/aws-config/src/imds/credentials.rs b/aws/rust-runtime/aws-config/src/imds/credentials.rs index c260ba51f1..665d03f801 100644 --- a/aws/rust-runtime/aws-config/src/imds/credentials.rs +++ b/aws/rust-runtime/aws-config/src/imds/credentials.rs @@ -432,7 +432,7 @@ mod test { #[tokio::test] #[cfg(any(feature = "rustls", feature = "native-tls"))] async fn external_timeout_during_credentials_refresh_should_yield_last_retrieved_credentials() { - use aws_sdk_sso::config::AsyncSleep; + use aws_smithy_async::rt::sleep::AsyncSleep; let client = crate::imds::Client::builder() // 240.* can never be resolved .endpoint(http::Uri::from_static("http://240.0.0.0")) diff --git a/aws/sdk/integration-tests/webassembly/Cargo.toml b/aws/sdk/integration-tests/webassembly/Cargo.toml index 655550d7b7..b66406e6f5 100644 --- a/aws/sdk/integration-tests/webassembly/Cargo.toml +++ b/aws/sdk/integration-tests/webassembly/Cargo.toml @@ -8,6 +8,9 @@ These tests ensure that things will fail (or not fail) as expected when target is set to wasm32-wasi for all SDK and runtime crates. """ edition = "2021" +license = "Apache-2.0" +repository = "https://github.com/awslabs/smithy-rs" +publish = false [lib] crate-type = ["cdylib"] diff --git a/aws/sdk/integration-tests/webassembly/src/adapter/http_client.rs b/aws/sdk/integration-tests/webassembly/src/adapter/http_client.rs index 25d447053a..5ca84838c9 100644 --- a/aws/sdk/integration-tests/webassembly/src/adapter/http_client.rs +++ b/aws/sdk/integration-tests/webassembly/src/adapter/http_client.rs @@ -5,9 +5,7 @@ use aws_smithy_http::body::SdkBody; -pub(crate) fn make_request( - _req: http::Request, -) -> anyhow::Result> { +pub(crate) fn make_request(_req: http::Request) -> Result, ()> { // Consumers here would pass the HTTP request to // the Wasm host in order to get the response back let body = "