X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a9b15a2f041744c8fac8c0b12fa8b61d1a7292f8..ce4285dd9a6310a799b861237918273329390316:/services/keepstore/pull_worker_test.go diff --git a/services/keepstore/pull_worker_test.go b/services/keepstore/pull_worker_test.go index e31979f227..7b5077c1a7 100644 --- a/services/keepstore/pull_worker_test.go +++ b/services/keepstore/pull_worker_test.go @@ -1,3 +1,7 @@ +// Copyright (C) The Arvados Authors. All rights reserved. +// +// SPDX-License-Identifier: AGPL-3.0 + package main import ( @@ -123,7 +127,7 @@ func (s *PullWorkerTestSuite) TestSpecifyMountUUID(c *C) { requestBody: []byte(`[{ "locator":"acbd18db4cc2f85cedef654fccc4a4d8+3", "servers":["server_1","server_2"], - "mountuuid":"` + spec.sendUUID + `"}]`), + "mount_uuid":"` + spec.sendUUID + `"}]`), }) c.Assert(resp.Code, Equals, http.StatusOK) expectEqualWithin(c, time.Second, 0, func() interface{} { @@ -267,6 +271,7 @@ func (s *PullWorkerTestSuite) performTest(testData PullWorkerTestData, c *C) { c.Check(getStatusItem("PullQueue", "InProgress"), Equals, float64(0)) c.Check(getStatusItem("PullQueue", "Queued"), Equals, float64(0)) + c.Check(getStatusItem("Version"), Not(Equals), "") response := IssueRequest(&testData.req) c.Assert(response.Code, Equals, testData.responseCode)