mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
fix: flaky and stupid tests in root lockdown (#18308)
This commit is contained in:
@@ -376,7 +376,8 @@ func configRetriableErrors(err error) bool {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
notInitialized := err.Error() == "Server not initialized, please try again"
|
notInitialized := strings.Contains(err.Error(), "Server not initialized, please try again") ||
|
||||||
|
errors.Is(err, errServerNotInitialized)
|
||||||
|
|
||||||
// Initializing sub-systems needs a retry mechanism for
|
// Initializing sub-systems needs a retry mechanism for
|
||||||
// the following reasons:
|
// the following reasons:
|
||||||
|
|||||||
Reference in New Issue
Block a user