mirror of
https://github.com/minio/minio.git
synced 2025-11-13 15:21:36 -05:00
prep: Initialization should wait instead of exit the servers. (#2872)
- Servers do not exit for invalid credentials instead they print and wait. - Servers do not exit for version mismatch instead they print and wait. - Servers do not exit for time differences between nodes they print and wait.
This commit is contained in:
@@ -104,6 +104,22 @@ func TestStorageErr(t *testing.T) {
|
||||
expectedErr: errFileNameTooLong,
|
||||
err: fmt.Errorf("%s", errFileNameTooLong.Error()),
|
||||
},
|
||||
{
|
||||
expectedErr: errInvalidAccessKeyID,
|
||||
err: fmt.Errorf("%s", errInvalidAccessKeyID.Error()),
|
||||
},
|
||||
{
|
||||
expectedErr: errAuthentication,
|
||||
err: fmt.Errorf("%s", errAuthentication.Error()),
|
||||
},
|
||||
{
|
||||
expectedErr: errServerVersionMismatch,
|
||||
err: fmt.Errorf("%s", errServerVersionMismatch.Error()),
|
||||
},
|
||||
{
|
||||
expectedErr: errServerTimeMismatch,
|
||||
err: fmt.Errorf("%s", errServerTimeMismatch.Error()),
|
||||
},
|
||||
{
|
||||
expectedErr: unknownErr,
|
||||
err: unknownErr,
|
||||
|
||||
Reference in New Issue
Block a user