@@ -28,7 +28,13 @@ func TestInitManager(t *testing.T) {
28
28
29
29
assert .DeepEqual (t , options .Controller .GroupKindConcurrency ,
30
30
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 ,
32
38
})
33
39
34
40
assert .Assert (t , options .Cache .DefaultNamespaces == nil )
@@ -103,7 +109,13 @@ func TestInitManager(t *testing.T) {
103
109
assert .NilError (t , err )
104
110
assert .DeepEqual (t , options .Controller .GroupKindConcurrency ,
105
111
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 ,
107
119
})
108
120
}
109
121
})
@@ -115,6 +127,12 @@ func TestInitManager(t *testing.T) {
115
127
assert .NilError (t , err )
116
128
assert .DeepEqual (t , options .Controller .GroupKindConcurrency ,
117
129
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 ,
118
136
"PostgresCluster.postgres-operator.crunchydata.com" : 19 ,
119
137
})
120
138
})
0 commit comments