forked from yu-re-ka/binary-cache
fix(tests/substitution): adapt to new module
This commit is contained in:
parent
3350646db9
commit
fb64fb1eea
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue