File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 2424use aws_sdk_ssooidc:: client:: Client ;
2525use aws_sdk_ssooidc:: config:: retry:: RetryConfig ;
2626use aws_sdk_ssooidc:: config:: {
27- BehaviorVersion ,
2827 ConfigBag ,
2928 RuntimeComponents ,
3029 SharedAsyncSleep ,
@@ -53,7 +52,10 @@ use crate::agent::util::is_integ_test;
5352use crate :: api_client:: stalled_stream_protection_config;
5453use crate :: auth:: AuthError ;
5554use crate :: auth:: consts:: * ;
56- use crate :: aws_common:: app_name;
55+ use crate :: aws_common:: {
56+ app_name,
57+ behavior_version,
58+ } ;
5759use crate :: database:: {
5860 Database ,
5961 Secret ,
@@ -82,7 +84,7 @@ pub fn client(region: Region) -> Client {
8284 Client :: new (
8385 & aws_types:: SdkConfig :: builder ( )
8486 . http_client ( crate :: aws_common:: http_client:: client ( ) )
85- . behavior_version ( BehaviorVersion :: v2025_01_17 ( ) )
87+ . behavior_version ( behavior_version ( ) )
8688 . endpoint_url ( oidc_url ( & region) )
8789 . region ( region)
8890 . retry_config ( RetryConfig :: standard ( ) . with_max_attempts ( 3 ) )
Original file line number Diff line number Diff line change @@ -48,5 +48,5 @@ async fn test_agent_defaults() {
4848
4949 test. send_prompt ( "start turn" . to_string ( ) ) . await ;
5050
51- test. wait_until_agent_stop ( Duration :: from_secs ( 3 ) ) . await ;
51+ test. wait_until_agent_stop ( Duration :: from_secs ( 2 ) ) . await ;
5252}
You can’t perform that action at this time.
0 commit comments