tvl-depot/tvix/castore
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
..
protos refactor(tvix): move castore into tvix-castore crate 2023-09-22 12:51:21 +00:00
src refactor(tvix/castore): move gRPC directorysvc tests off tonic_mock 2023-10-08 07:44:13 +00:00
build.rs chore(tvix/[ca]store): allow building without tonic-reflection 2023-09-26 10:07:40 +00:00
Cargo.toml chore(tvix/[ca]store): allow building without tonic-reflection 2023-09-26 10:07:40 +00:00
default.nix refactor(tvix): move castore into tvix-castore crate 2023-09-22 12:51:21 +00:00