fix: flaky and stupid tests in root lockdown (#18308)

This commit is contained in:
Harshavardhana
2023-10-24 13:22:44 -07:00
committed by GitHub
parent 6415dec37a
commit a7b1834772

View File

@@ -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: