Skip to content

Commit

Permalink
Merge pull request #15112 from SimonRichardson/fix-initializing-state…
Browse files Browse the repository at this point in the history
…-twice

[JUJU-2585] Use updated error for TestInitializeStateFailsSecondTime
  • Loading branch information
manadart committed Jan 30, 2023
2 parents 334d557 + 6d82767 commit f9419c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/agentbootstrap/bootstrap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ func (s *bootstrapSuite) TestInitializeStateFailsSecondTime(c *gc.C) {
if err == nil {
_ = st.Close()
}
c.Assert(err, gc.ErrorMatches, "bootstrapping raft cluster: bootstrap only works on new clusters")
c.Assert(err, gc.ErrorMatches, "creating controller database schema.*")
}

func (s *bootstrapSuite) TestMachineJobFromParams(c *gc.C) {
Expand Down

0 comments on commit f9419c0

Please sign in to comment.