X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/da0aee751d8cb039c9b6b85a03e7d62cb973e3b3..4d7567b7b3577b561dd064d397c10a9331c3ee16:/services/keep-balance/collection_test.go diff --git a/services/keep-balance/collection_test.go b/services/keep-balance/collection_test.go index 629ff3a140..6aaf07abae 100644 --- a/services/keep-balance/collection_test.go +++ b/services/keep-balance/collection_test.go @@ -1,3 +1,7 @@ +// Copyright (C) The Arvados Authors. All rights reserved. +// +// SPDX-License-Identifier: AGPL-3.0 + package main import ( @@ -26,7 +30,6 @@ func (s *integrationSuite) TestIdenticalTimestamps(c *check.C) { var lastMod time.Time sawUUID := make(map[string]bool) err := EachCollection(&s.config.Client, pageSize, func(c arvados.Collection) error { - got[trial] = append(got[trial], c.UUID) if c.ModifiedAt == nil { return nil } @@ -34,6 +37,7 @@ func (s *integrationSuite) TestIdenticalTimestamps(c *check.C) { // dup return nil } + got[trial] = append(got[trial], c.UUID) sawUUID[c.UUID] = true if lastMod == *c.ModifiedAt { streak++