fix(tests/substitution): adapt to new module

This commit is contained in:
Yureka 2024-07-22 01:13:41 +02:00 committed by sinavir
parent 3350646db9
commit fb64fb1eea

View file

@ -22,7 +22,8 @@ pkgs.testers.runNixOSTest (_: {
host = "cache";
};
caches = {
cache.port = 8000;
cache.grpcListenAddress = "[::1]:5000";
cache.narBridgeListenAddress = "[::1]:8000";
};
};
@ -45,7 +46,7 @@ pkgs.testers.runNixOSTest (_: {
import time
start_all()
cache.wait_for_unit("nginx.service")
cache.wait_for_unit("tvix-store-cache.service")
cache.wait_for_unit("narbridge-cache.service")
time.sleep(1)
with subtest("Nar bridge home"):
cache.succeed("curl -f http://127.0.0.1/cache/nix-cache-info")