Skip to content

Commit 01f59bf

Browse files
authored
Update failover e2e test
As part of the move from failover to switchover the output message from the `pgo failover` command was updated. This change updates the test to account for the new output message.
1 parent d43dbac commit 01f59bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/pgo_cli/cluster_failover_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func TestClusterFailover(t *testing.T) {
6868
"--target="+before[0].Labels["deployment-name"], "--no-prompt",
6969
).Exec(t)
7070
require.NoError(t, err)
71-
require.Contains(t, output, "created")
71+
require.Contains(t, output, "success")
7272

7373
replaced := func() bool {
7474
after := replicaPods(t, namespace(), cluster())

0 commit comments

Comments
 (0)