tvl-depot/tvix/castore/src
Florian Klink 3b620e6d0c refactor(tvix/castore): move gRPC directorysvc tests off tonic_mock
The tests were using the gRPC Service/Server interface, not the gRPC
clients.

Use our new gen_directorysvc_grpc_client() function to spin up a server
in a separate thread, and test via that client, rather than *just* the
server implementation.

This is more correct, because we're now really exercising the gRPC
stack, and some of the stream implementations are also only implemented
on the client.

Change-Id: I99434a2399856a44c9e6988d0b720f7a429d0ad1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9560
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
2023-10-08 07:44:13 +00:00
..
blobservice refactor(tvix): move castore into tvix-castore crate 2023-09-22 12:51:21 +00:00
directoryservice refactor(tvix/castore/directorysvc): factor out gRPC client gen 2023-10-08 07:30:34 +00:00
proto refactor(tvix/castore): move gRPC directorysvc tests off tonic_mock 2023-10-08 07:44:13 +00:00
tests refactor(tvix): move castore into tvix-castore crate 2023-09-22 12:51:21 +00:00
digests.rs refactor(tvix/castore): move magic number to B3_LEN const 2023-10-05 09:50:31 +00:00
errors.rs refactor(tvix): move castore into tvix-castore crate 2023-09-22 12:51:21 +00:00
fixtures.rs refactor(tvix): move castore into tvix-castore crate 2023-09-22 12:51:21 +00:00
import.rs fix(tvix/castore): explicitly name lifetimes in process_entry 2023-10-04 08:31:40 +00:00
lib.rs refactor(tvix/castore): move magic number to B3_LEN const 2023-10-05 09:50:31 +00:00
utils.rs refactor(tvix/castore/directorysvc): factor out gRPC client gen 2023-10-08 07:30:34 +00:00