Skip to content

Commit 924675d

Browse files
authored
fix: Flex Backup Tests (#3657)
1 parent ab76bb3 commit 924675d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/e2e/atlas/backup_flex_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ func TestFlexBackup(t *testing.T) {
107107
"--snapshotId",
108108
snapshotID,
109109
"--targetClusterName",
110-
g.clusterName,
110+
g.flexName,
111111
"--targetProjectId",
112112
g.projectID,
113113
"-o=json")
@@ -182,7 +182,7 @@ func TestFlexBackup(t *testing.T) {
182182
"--snapshotId",
183183
snapshotID,
184184
"--targetClusterName",
185-
g.clusterName,
185+
g.flexName,
186186
"--targetProjectId",
187187
g.projectID,
188188
"-o=json")
@@ -216,14 +216,14 @@ func TestFlexBackup(t *testing.T) {
216216
cmd := exec.Command(cliPath,
217217
clustersEntity,
218218
"delete",
219-
g.clusterName,
219+
g.flexName,
220220
"--force",
221221
"--watch")
222222
cmd.Env = os.Environ()
223223
resp, err := e2e.RunAndGetStdOut(cmd)
224224
require.NoError(t, err, string(resp))
225225

226-
expected := fmt.Sprintf("Deleting cluster '%s'Cluster deleted\n", g.clusterName)
226+
expected := fmt.Sprintf("Deleting cluster '%s'Cluster deleted\n", g.flexName)
227227
assert.Equal(t, expected, string(resp))
228228
})
229229
}

0 commit comments

Comments
 (0)