projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '21165-installer-uninstalls-wb1'. Closes #21165
[arvados.git]
/
lib
/
recovercollection
/
cmd_test.go
diff --git
a/lib/recovercollection/cmd_test.go
b/lib/recovercollection/cmd_test.go
index 57c2c64cdab01289911043c5767ed92edbcd8c36..f891e5567757beb47189c1352911fdb4653767bf 100644
(file)
--- a/
lib/recovercollection/cmd_test.go
+++ b/
lib/recovercollection/cmd_test.go
@@
-27,7
+27,6
@@
var _ = check.Suite(&Suite{})
type Suite struct{}
func (*Suite) SetUpSuite(c *check.C) {
type Suite struct{}
func (*Suite) SetUpSuite(c *check.C) {
- arvadostest.StartAPI()
arvadostest.StartKeep(2, true)
}
arvadostest.StartKeep(2, true)
}
@@
-90,6
+89,7
@@
func (*Suite) TestUntrashAndTouchBlock(c *check.C) {
c.Assert(err, check.IsNil)
t := time.Now().Add(-time.Hour * 24 * 365)
err = os.Chtimes(trashfile, t, t)
c.Assert(err, check.IsNil)
t := time.Now().Add(-time.Hour * 24 * 365)
err = os.Chtimes(trashfile, t, t)
+ c.Assert(err, check.IsNil)
}
var stdout, stderr bytes.Buffer
}
var stdout, stderr bytes.Buffer