Skip to content

Commit 59e0d86

Browse files
committed
fix unit-test
1 parent e070313 commit 59e0d86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/patroni/api_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func TestExecutorChangePrimaryAndWait(t *testing.T) {
3636
) error {
3737
called = true
3838
assert.DeepEqual(t, command, strings.Fields(
39-
`patronictl switchover --scheduled=now --force --primary=old --candidate=new`,
39+
`patronictl switchover --scheduled=now --force --candidate=new --primary=old`,
4040
))
4141
assert.Assert(t, stdin == nil, "expected no stdin, got %T", stdin)
4242
assert.Assert(t, stderr != nil, "should capture stderr")

0 commit comments

Comments
 (0)