X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4ec9919ea6cce4ada252f1e0a0dc521fe27e508c..abfdd429351ad6b457667b624c8ba550ffcac999:/tools/keep-rsync/keep-rsync_test.go diff --git a/tools/keep-rsync/keep-rsync_test.go b/tools/keep-rsync/keep-rsync_test.go index 9432a0d383..afc27f513a 100644 --- a/tools/keep-rsync/keep-rsync_test.go +++ b/tools/keep-rsync/keep-rsync_test.go @@ -91,7 +91,7 @@ func setupRsync(c *C, enforcePermissions bool, replications int) { dstConfig.APIHostInsecure = matchTrue.MatchString(os.Getenv("ARVADOS_API_HOST_INSECURE")) if enforcePermissions { - blobSigningKey = "zfhgfenhffzltr9dixws36j1yhksjoll2grmku38mi7yxd66h5j4q9w4jzanezacp8s6q0ro3hxakfye02152hncy6zml2ed0uc" + blobSigningKey = arvadostest.BlobSigningKey } // Start Keep servers @@ -470,9 +470,11 @@ func (s *DoMainTestSuite) Test_doMainWithSrcAndDstConfig(c *C) { args := []string{"-src", srcConfig.Name(), "-dst", dstConfig.Name()} os.Args = append(os.Args, args...) - // Start keepservers. Since we are not doing any tweaking as in setupRsync func, - // kcSrc and kcDst will be the same and no actual copying to dst will happen, but that's ok. + // Start keepservers. Since we are not doing any tweaking as + // in setupRsync func, kcSrc and kcDst will be the same and no + // actual copying to dst will happen, but that's ok. arvadostest.StartKeep(2, false) + defer arvadostest.StopKeep(2) err := doMain() c.Check(err, IsNil)