about summary refs log tree commit diff
path: root/third_party/overlays/patches
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-10-07T08·26+0200
committerflokli <flokli@flokli.de>2023-10-08T07·44+0000
commit3b620e6d0c19136241effa48b6fe637c577fc564 (patch)
tree2307c7cade810d8cdef983ddf81338c4ba08cee4 /third_party/overlays/patches
parenta77914db7347ddfe8d3d7bc9614f42bc4cee8436 (diff)
refactor(tvix/castore): move gRPC directorysvc tests off tonic_mock r/6725
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>
Diffstat (limited to 'third_party/overlays/patches')
0 files changed, 0 insertions, 0 deletions