Skip to content

Commit

Permalink
Restores the checkSuperfluousChanges call to TestAddMachine in the
Browse files Browse the repository at this point in the history
model cache suite. Depending on the compute power where the test is run
there may be multiple events for the added machine.
  • Loading branch information
manadart committed Oct 17, 2023
1 parent c8a598e commit e04a89e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions worker/modelcache/worker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,8 @@ func (s *WorkerSuite) TestAddMachine(c *gc.C) {
cachedMachine, err := mod.Machine(machine.Id())
c.Assert(err, jc.ErrorIsNil)
c.Check(cachedMachine, gc.NotNil)

s.checkSuperfluousChanges(c, changes, change)
}

func (s *WorkerSuite) TestRemoveMachine(c *gc.C) {
Expand Down

0 comments on commit e04a89e

Please sign in to comment.