@@ -28,7 +28,13 @@ func TestInitManager(t *testing.T) {
2828
2929 assert .DeepEqual (t , options .Controller .GroupKindConcurrency ,
3030 map [string ]int {
31- "PostgresCluster.postgres-operator.crunchydata.com" : 2 ,
31+ "PGAdmin.postgres-operator.crunchydata.com" : 1 ,
32+ "PGUpgrade.postgres-operator.crunchydata.com" : 1 ,
33+ "PerconaPGBackup.pgv2.percona.com" : 1 ,
34+ "PerconaPGCluster.pgv2.percona.com" : 1 ,
35+ "PerconaPGRestore.pgv2.percona.com" : 1 ,
36+ "PerconaPGUpgrade.pgv2.percona.com" : 1 ,
37+ "PostgresCluster.postgres-operator.crunchydata.com" : 1 ,
3238 })
3339
3440 assert .Assert (t , options .Cache .DefaultNamespaces == nil )
@@ -103,7 +109,13 @@ func TestInitManager(t *testing.T) {
103109 assert .NilError (t , err )
104110 assert .DeepEqual (t , options .Controller .GroupKindConcurrency ,
105111 map [string ]int {
106- "PostgresCluster.postgres-operator.crunchydata.com" : 2 ,
112+ "PGAdmin.postgres-operator.crunchydata.com" : 1 ,
113+ "PGUpgrade.postgres-operator.crunchydata.com" : 1 ,
114+ "PerconaPGBackup.pgv2.percona.com" : 1 ,
115+ "PerconaPGCluster.pgv2.percona.com" : 1 ,
116+ "PerconaPGRestore.pgv2.percona.com" : 1 ,
117+ "PerconaPGUpgrade.pgv2.percona.com" : 1 ,
118+ "PostgresCluster.postgres-operator.crunchydata.com" : 1 ,
107119 })
108120 }
109121 })
@@ -115,6 +127,12 @@ func TestInitManager(t *testing.T) {
115127 assert .NilError (t , err )
116128 assert .DeepEqual (t , options .Controller .GroupKindConcurrency ,
117129 map [string ]int {
130+ "PGAdmin.postgres-operator.crunchydata.com" : 19 ,
131+ "PGUpgrade.postgres-operator.crunchydata.com" : 19 ,
132+ "PerconaPGBackup.pgv2.percona.com" : 19 ,
133+ "PerconaPGCluster.pgv2.percona.com" : 19 ,
134+ "PerconaPGRestore.pgv2.percona.com" : 19 ,
135+ "PerconaPGUpgrade.pgv2.percona.com" : 19 ,
118136 "PostgresCluster.postgres-operator.crunchydata.com" : 19 ,
119137 })
120138 })
0 commit comments