Skip to content

Commit

Permalink
Fix imon testing
Browse files Browse the repository at this point in the history
Still expecting HALeader on a unprovisioned instance.
  • Loading branch information
cvaroqui committed Aug 11, 2023
1 parent dbd83a1 commit f93d008
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions daemon/imon/orchestrate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ func Test_Orchestrate_HA_that_dont_call_start(t *testing.T) {
},

{
name: "if instance is not provisioned then is is leader",
name: "if instance is not provisioned then it is leader",
srcFile: "./testdata/orchestrate-ha.conf",
obj: "obj",
sideEffects: map[string]sideEffect{
Expand All @@ -235,7 +235,7 @@ func Test_Orchestrate_HA_that_dont_call_start(t *testing.T) {
expectedGlobalExpect: instance.MonitorGlobalExpectNone,
expectedLocalExpect: instance.MonitorLocalExpectNone,
expectedIsLeader: true,
expectedIsHALeader: true,
expectedIsHALeader: false,
expectedCrm: [][]string{
{"obj", "status", "-r"},
},
Expand Down

0 comments on commit f93d008

Please sign in to comment.