tests/peertube: update redis usage

This commit is contained in:
Jonathan Ringer 2022-02-16 11:16:32 -08:00
parent 54d6aee8f3
commit 1d79ffcb68
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0

View File

@ -30,10 +30,11 @@ import ../make-test-python.nix ({pkgs, ...}:
'';
};
services.redis = {
services.redis.servers.peertube = {
enable = true;
bind = "0.0.0.0";
requirePass = "turrQfaQwnanGbcsdhxy";
port = 6379;
};
};
@ -109,7 +110,7 @@ import ../make-test-python.nix ({pkgs, ...}:
start_all()
database.wait_for_unit("postgresql.service")
database.wait_for_unit("redis.service")
database.wait_for_unit("redis-peertube.service")
database.wait_for_open_port(5432)
database.wait_for_open_port(6379)