@@ -103,11 +103,11 @@ GRANT ALL PRIVILEGES ON *.* TO '%s'@'%s';`, sub, iss, email, sub, "%")
103
103
})
104
104
105
105
ginkgo .Context ("Scale and Update" , label .P0 , func () {
106
- ginkgo .It ("support scale TiDB form 3 to 5 " , label .Scale , func (ctx context.Context ) {
106
+ ginkgo .It ("support scale TiDB from 1 to 4 " , label .Scale , func (ctx context.Context ) {
107
107
pdg := f .MustCreatePD (ctx )
108
108
kvg := f .MustCreateTiKV (ctx )
109
109
dbg := f .MustCreateTiDB (ctx ,
110
- data.WithReplicas [* runtime.TiDBGroup ](3 ),
110
+ data.WithReplicas [* runtime.TiDBGroup ](1 ),
111
111
)
112
112
113
113
ginkgo .By ("Wait for Cluster Ready" )
@@ -116,14 +116,14 @@ GRANT ALL PRIVILEGES ON *.* TO '%s'@'%s';`, sub, iss, email, sub, "%")
116
116
f .WaitForTiDBGroupReady (ctx , dbg )
117
117
118
118
patch := client .MergeFrom (dbg .DeepCopy ())
119
- dbg .Spec .Replicas = ptr.To [int32 ](5 )
119
+ dbg .Spec .Replicas = ptr.To [int32 ](4 )
120
120
121
121
ginkgo .By ("Change replica of the TiDBGroup" )
122
122
f .Must (f .Client .Patch (ctx , dbg , patch ))
123
123
f .WaitForTiDBGroupReady (ctx , dbg )
124
124
})
125
125
126
- ginkgo .It ("support scale TiDB form 5 to 3" , label .Scale , func (ctx context.Context ) {
126
+ ginkgo .It ("support scale TiDB from 5 to 3" , label .Scale , func (ctx context.Context ) {
127
127
pdg := f .MustCreatePD (ctx )
128
128
kvg := f .MustCreateTiKV (ctx )
129
129
dbg := f .MustCreateTiDB (ctx ,
@@ -263,7 +263,7 @@ GRANT ALL PRIVILEGES ON *.* TO '%s'@'%s';`, sub, iss, email, sub, "%")
263
263
}),
264
264
)
265
265
266
- ginkgo .It ("support scale TiDB form 5 to 3 and rolling update at same time" , label .Scale , label .Update , func (ctx context.Context ) {
266
+ ginkgo .It ("support scale TiDB from 5 to 3 and rolling update at same time" , label .Scale , label .Update , func (ctx context.Context ) {
267
267
pdg := f .MustCreatePD (ctx )
268
268
kvg := f .MustCreateTiKV (ctx )
269
269
dbg := f .MustCreateTiDB (ctx ,
0 commit comments