allow decommissioned pools to be removed while others are finishing (#17221)

This commit is contained in:
Harshavardhana
2023-05-16 16:00:57 -07:00
committed by GitHub
parent 2131046427
commit 06557fe8be
3 changed files with 62 additions and 111 deletions
+6 -6
View File
@@ -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,
},
}