convert hardcoded master words into a constant variable

This commit is contained in:
inovindasari
2024-12-02 17:29:05 +01:00
parent 1410daa1aa
commit daec1a40c2
4 changed files with 39 additions and 37 deletions
+1 -1
View File
@@ -323,7 +323,7 @@ func TestConnectionPoolerCreateDeletion(t *testing.T) {
cluster.Name = "acid-fake-cluster"
cluster.Namespace = "default"
_, err := cluster.createService(cluster.masterRole()) //PROBLEM1
_, err := cluster.createService(cluster.masterRole())
assert.NoError(t, err)
_, err = cluster.createStatefulSet()
assert.NoError(t, err)