mirror of https://github.com/minio/minio.git
fix: flaky and stupid tests in root lockdown (#18308)
This commit is contained in:
parent
6415dec37a
commit
a7b1834772
|
@ -376,7 +376,8 @@ func configRetriableErrors(err error) bool {
|
|||
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
|
||||
// the following reasons:
|
||||
|
|
Loading…
Reference in New Issue