about summary refs log tree commit diff
path: root/nixos/tests/web-apps
diff options
context:
space:
mode:
authorLassulus <github@lassul.us>2022-04-24 11:19:58 +0100
committerGitHub <noreply@github.com>2022-04-24 11:19:58 +0100
commit33dc00eaaf089b383c7bfcba83525eea023a95d3 (patch)
treecb305e35cddb92243844f567df17976a673d3bd3 /nixos/tests/web-apps
parent4c6e815119ef10857087fc8556c7f38593570fab (diff)
parent1d79ffcb6814bc93bc790517187ccfdab43eaa21 (diff)
Merge pull request #164208 from jonringer/fix-peertube-warnings
tests/peertube: update redis usage
Diffstat (limited to 'nixos/tests/web-apps')
-rw-r--r--nixos/tests/web-apps/peertube.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/nixos/tests/web-apps/peertube.nix b/nixos/tests/web-apps/peertube.nix
index 706c598338e82..d42b4e3d677bb 100644
--- a/nixos/tests/web-apps/peertube.nix
+++ b/nixos/tests/web-apps/peertube.nix
@@ -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)