X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/16f704326f44fd1e5e5e60b936c9b5895d6a6ff8..e7c542383a6364d422a14704a8ab11c96a976a41:/services/crunch-run/copier_test.go diff --git a/services/crunch-run/copier_test.go b/services/crunch-run/copier_test.go index a2b560889f..c0fe38008d 100644 --- a/services/crunch-run/copier_test.go +++ b/services/crunch-run/copier_test.go @@ -111,7 +111,7 @@ func (s *copierSuite) TestSymlinkToMountedCollection(c *check.C) { // simulate mounted read-only collection s.cp.mounts["/mnt"] = arvados.Mount{ Kind: "collection", - PortableDataHash: arvadostest.FooPdh, + PortableDataHash: arvadostest.FooCollectionPDH, } // simulate mounted writable collection @@ -125,7 +125,7 @@ func (s *copierSuite) TestSymlinkToMountedCollection(c *check.C) { c.Assert(f.Close(), check.IsNil) s.cp.mounts["/mnt-w"] = arvados.Mount{ Kind: "collection", - PortableDataHash: arvadostest.FooPdh, + PortableDataHash: arvadostest.FooCollectionPDH, Writable: true, } s.cp.binds = append(s.cp.binds, bindtmp+":/mnt-w") @@ -197,7 +197,7 @@ func (s *copierSuite) TestUnsupportedMountKindBelow(c *check.C) { func (s *copierSuite) TestWritableMountBelow(c *check.C) { s.cp.mounts["/ctr/outdir/mount"] = arvados.Mount{ Kind: "collection", - PortableDataHash: arvadostest.FooPdh, + PortableDataHash: arvadostest.FooCollectionPDH, Writable: true, } c.Assert(os.MkdirAll(s.cp.hostOutputDir+"/mount", 0755), check.IsNil)