mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 21:09:30 +02:00
Use round-robin strategy while assigning workers
This commit is contained in:
@@ -95,11 +95,11 @@ func TestClusterWorkerID(t *testing.T) {
|
||||
}{
|
||||
{
|
||||
in: spec.NamespacedName{Namespace: "foo", Name: "bar"},
|
||||
expected: 2,
|
||||
expected: 0,
|
||||
},
|
||||
{
|
||||
in: spec.NamespacedName{Namespace: "default", Name: "testcluster"},
|
||||
expected: 3,
|
||||
expected: 1,
|
||||
},
|
||||
}
|
||||
for _, test := range testTable {
|
||||
|
||||
Reference in New Issue
Block a user