As seen in a check merge job
15:39:01 FAIL: operation_test.go:387: enqueueSuite.TestEnqueueOperationFail
15:39:01
15:39:01 operation_test.go:412:
15:39:01 r, err := api.Enqueue(arg)
15:39:01 /<email address hidden>/gomock/controller.go:183:
15:39:01 h.t.Fatalf(format, args...)
15:39:01 ... Error: Unexpected call to *mocks.MockModel.FailOperationEnqueuing([1 error(s) enqueueing action(s): could not determine leader for "mysql", database txn failure not found 1]) at /home/jenkins/go/src/github.com/juju/juju/apiserver/facades/client/action/operation.go:134 because:
15:39:01 expected call at /home/jenkins/go/src/github.com/juju/juju/apiserver/facades/client/action/operation_test.go:399 doesn't match the argument at index 1.
15:39:01 Got: error(s) enqueueing action(s): could not determine leader for "mysql", database txn failure not found
15:39:01 Want: is equal to error(s) enqueueing action(s): database txn failure not found, could not determine leader for "mysql"
15:39:01
15:39:01 operation_test.go:412:
15:39:01 r, err := api.Enqueue(arg)
15:39:01 /<email address hidden>/gomock/controller.go:180:
15:39:01 h.t.Errorf(format, args...)
15:39:01 ... Error: missing call(s) to *mocks.MockModel.FailOperationEnqueuing(is equal to 1, is equal to error(s) enqueueing action(s): database txn failure not found, could not determine leader for "mysql", is equal to 1) /home/jenkins/go/src/github.com/juju/juju/apiserver/facades/client/action/operation_test.go:399
15:39:01
15:39:01 operation_test.go:412:
15:39:01 r, err := api.Enqueue(arg)
15:39:01 /<email address hidden>/gomock/controller.go:183:
15:39:01 h.t.Fatalf(format, args...)
15:39:01 ... Error: aborting test due to missing call(s)
https:/ /github. com/juju/ juju/pull/ 13993