mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-18 10:43:15 +00:00
fix(keystone): fail closed on EC2 auth and apply configured timeout (#4464)
This commit is contained in:
@@ -28,6 +28,7 @@ fn create_test_auth_provider() -> Arc<KeystoneAuthProvider> {
|
||||
Some("admin".to_string()),
|
||||
"Default".to_string(),
|
||||
false, // Don't verify SSL for tests
|
||||
std::time::Duration::from_secs(30),
|
||||
);
|
||||
|
||||
Arc::new(KeystoneAuthProvider::new(client, 1000, std::time::Duration::from_secs(300), true))
|
||||
@@ -256,6 +257,7 @@ fn test_auth_provider_configuration() {
|
||||
Some("test-project".to_string()),
|
||||
"TestDomain".to_string(),
|
||||
true,
|
||||
std::time::Duration::from_secs(30),
|
||||
);
|
||||
|
||||
// Test with caching enabled
|
||||
|
||||
Reference in New Issue
Block a user