X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a95f899d7ac84f29b3d019aa410d265bb40833e5..3a391d6693d89c0cfe5862227fcc9a0568bc775d:/services/keep-balance/integration_test.go diff --git a/services/keep-balance/integration_test.go b/services/keep-balance/integration_test.go index b090614607..0793889259 100644 --- a/services/keep-balance/integration_test.go +++ b/services/keep-balance/integration_test.go @@ -78,8 +78,10 @@ func (s *integrationSuite) TestBalanceAPIFixtures(c *check.C) { CommitTrash: true, Logger: log.New(logBuf, "", log.LstdFlags), } - err := (&Balancer{}).Run(s.config, opts) + nextOpts, err := (&Balancer{}).Run(s.config, opts) c.Check(err, check.IsNil) + c.Check(nextOpts.SafeRendezvousState, check.Not(check.Equals), "") + c.Check(nextOpts.CommitPulls, check.Equals, true) if iter == 0 { c.Check(logBuf.String(), check.Matches, `(?ms).*ChangeSet{Pulls:1.*`) c.Check(logBuf.String(), check.Not(check.Matches), `(?ms).*ChangeSet{.*Trashes:[^0]}*`)