mirror of
https://github.com/minio/minio.git
synced 2025-04-22 03:24:38 -04:00
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
|
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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user