We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e070313 commit 59e0d86Copy full SHA for 59e0d86
internal/patroni/api_test.go
@@ -36,7 +36,7 @@ func TestExecutorChangePrimaryAndWait(t *testing.T) {
36
) error {
37
called = true
38
assert.DeepEqual(t, command, strings.Fields(
39
- `patronictl switchover --scheduled=now --force --primary=old --candidate=new`,
+ `patronictl switchover --scheduled=now --force --candidate=new --primary=old`,
40
))
41
assert.Assert(t, stdin == nil, "expected no stdin, got %T", stdin)
42
assert.Assert(t, stderr != nil, "should capture stderr")
0 commit comments