test(tvix/nar-bridge): start testing handlers

We currently only had some integration tests (as part of tvix-boot)
testing nar-bridge functionality as a smoketest, but with axum-test we
can test individual handlers and peek at the store afterwards, which is
much more granular.

This adds tests for the nar-specific request handlers.

Change-Id: I7f2345df89ac43b9b372ecc66f696e95e2fcad18
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12916
Tested-by: BuildkiteCI
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Autosubmit: flokli <flokli@flokli.de>
This commit is contained in:
Florian Klink 2024-11-24 18:37:03 +02:00 committed by clbot
parent 4f9112f1cd
commit 30b631ea72
5 changed files with 870 additions and 49 deletions

View file

@ -149,6 +149,7 @@ tracing = "0.1.40"
tracing-indicatif = "0.3.6"
tracing-opentelemetry = "0.28.0"
tracing-subscriber = "0.3.18"
tracing-test = "0.2.5"
tracing-tracy = "0.11.2"
trybuild = "1.0.99"
url = "2.5.2"