fix(tests/substitution): adapt to new module
This commit is contained in:
parent
3350646db9
commit
fb64fb1eea
1 changed files with 3 additions and 2 deletions
|
@ -22,7 +22,8 @@ pkgs.testers.runNixOSTest (_: {
|
||||||
host = "cache";
|
host = "cache";
|
||||||
};
|
};
|
||||||
caches = {
|
caches = {
|
||||||
cache.port = 8000;
|
cache.grpcListenAddress = "[::1]:5000";
|
||||||
|
cache.narBridgeListenAddress = "[::1]:8000";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -45,7 +46,7 @@ pkgs.testers.runNixOSTest (_: {
|
||||||
import time
|
import time
|
||||||
start_all()
|
start_all()
|
||||||
cache.wait_for_unit("nginx.service")
|
cache.wait_for_unit("nginx.service")
|
||||||
cache.wait_for_unit("tvix-store-cache.service")
|
cache.wait_for_unit("narbridge-cache.service")
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
with subtest("Nar bridge home"):
|
with subtest("Nar bridge home"):
|
||||||
cache.succeed("curl -f http://127.0.0.1/cache/nix-cache-info")
|
cache.succeed("curl -f http://127.0.0.1/cache/nix-cache-info")
|
||||||
|
|
Loading…
Reference in a new issue