diff --git a/nix/redis_test.nix b/nix/redis_test.nix index 73a1e55b..8cf5edec 100644 --- a/nix/redis_test.nix +++ b/nix/redis_test.nix @@ -10,7 +10,7 @@ text = '' ${cfg.package}/bin/redis-cli ping | ${pkgs.gnugrep}/bin/grep -q "PONG" ''; - name = "postgres-test"; + name = "redis-test"; }; depends_on."redis1".condition = "process_healthy"; }; diff --git a/test/flake.nix b/test/flake.nix index ccd4c1f8..1b1bed69 100644 --- a/test/flake.nix +++ b/test/flake.nix @@ -15,18 +15,21 @@ perSystem = { self', pkgs, lib, ... }: { process-compose = { postgres = { + port = 8080; imports = [ inputs.services-flake.processComposeModules.default ../nix/postgres_test.nix ]; }; redis = { + port = 8081; imports = [ inputs.services-flake.processComposeModules.default ../nix/redis_test.nix ]; }; redis-cluster = { + port = 8082; imports = [ inputs.services-flake.processComposeModules.default ../nix/redis-cluster_test.nix