Merge pull request #164208 from jonringer/fix-peertube-warnings

tests/peertube: update redis usage
This commit is contained in:
Lassulus 2022-04-24 11:19:58 +01:00 committed by GitHub
commit 33dc00eaaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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