mirror of
https://github.com/pgsty/minio.git
synced 2026-07-22 05:30:24 +03:00
allow decommissioned pools to be removed while others are finishing (#17221)
This commit is contained in:
@@ -127,8 +127,8 @@ func TestPoolMetaValidate(t *testing.T) {
|
||||
meta: meta,
|
||||
pools: orderChangePools,
|
||||
name: "Invalid-Orderchange",
|
||||
expectedErr: true,
|
||||
expectedUpdate: false,
|
||||
expectedErr: false,
|
||||
expectedUpdate: true,
|
||||
},
|
||||
{
|
||||
meta: nmeta1,
|
||||
@@ -148,8 +148,8 @@ func TestPoolMetaValidate(t *testing.T) {
|
||||
meta: nmeta2,
|
||||
pools: reducedPools,
|
||||
name: "Invalid-Decom-Pending-Pool-Removal",
|
||||
expectedErr: true,
|
||||
expectedUpdate: false,
|
||||
expectedErr: false,
|
||||
expectedUpdate: true,
|
||||
},
|
||||
{
|
||||
meta: nmeta1,
|
||||
@@ -169,8 +169,8 @@ func TestPoolMetaValidate(t *testing.T) {
|
||||
meta: nmeta2,
|
||||
pools: orderChangePools,
|
||||
name: "Invalid-Orderchange-Decom",
|
||||
expectedErr: true,
|
||||
expectedUpdate: false,
|
||||
expectedErr: false,
|
||||
expectedUpdate: true,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user