Skip to content

Commit

Permalink
Fix tests related to rebasing from 2.8 to 2.9.
Browse files Browse the repository at this point in the history
  • Loading branch information
hmlanigan committed Jul 9, 2021
1 parent 930d424 commit f727d4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions state/migration_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,7 @@ func (s *MigrationSuite) TestOperationDocFields(c *gc.C) {
"Completed",
"Status",
"Fail",
"SpawnedTaskCount",
)
s.AssertExportedFields(c, operationDoc{}, migrated.Union(ignored))
}
Expand Down
2 changes: 1 addition & 1 deletion state/operation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ func (s *OperationSuite) TestListOperationsByReceiver(c *gc.C) {
func (s *OperationSuite) TestListOperationsSubset(c *gc.C) {
s.setupOperations(c)
for i := 0; i < 20; i++ {
operationID, err := s.Model.EnqueueOperation(fmt.Sprintf("operation %d", i))
operationID, err := s.Model.EnqueueOperation(fmt.Sprintf("operation %d", i), 20)
c.Assert(err, jc.ErrorIsNil)
anAction, err := s.Model.EnqueueAction(operationID, names.NewUnitTag("dummy/0"), "backup", nil, nil)
c.Assert(err, jc.ErrorIsNil)
Expand Down

0 comments on commit f727d4d

Please sign in to comment.