1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: Apache-2.0
10 check "gopkg.in/check.v1"
13 var _ = check.Suite(&KeepServiceSuite{})
15 type KeepServiceSuite struct{}
17 func (*KeepServiceSuite) TestIndexTimeout(c *check.C) {
20 Transport: &timeoutTransport{response: []byte("\n")},
22 APIHost: "zzzzz.arvadosapi.com",
25 _, err := (&KeepService{}).IndexMount(client, "fake", "")
26 c.Check(err, check.ErrorMatches, `.*timeout.*`)