(t *testing.T)
| 16 | ) |
| 17 | |
| 18 | func TestService(t *testing.T) { |
| 19 | t.Parallel() |
| 20 | blobcachetests.ServiceAPI(t, func(t testing.TB) blobcache.Service { |
| 21 | if strings.Contains(t.Name(), "Vault/Tx") { |
| 22 | t.Skip("vault volumes cannot be created on remote nodes") |
| 23 | } |
| 24 | |
| 25 | server := bclocal.NewTestService(t) |
| 26 | _, privateKey, err := ed25519.GenerateKey(nil) |
| 27 | require.NoError(t, err) |
| 28 | client, err := Dial(privateKey, blobcachetests.Endpoint(t, server)) |
| 29 | require.NoError(t, err) |
| 30 | ctx := testutil.Context(t) |
| 31 | client.AwaitReady(ctx) |
| 32 | return client |
| 33 | }) |
| 34 | } |
nothing calls this directly
no test coverage detected