diff --git a/nixos/tests/rabbitmq.nix b/nixos/tests/rabbitmq.nix index 94c7bdf49ba5..ab339b95d2ab 100644 --- a/nixos/tests/rabbitmq.nix +++ b/nixos/tests/rabbitmq.nix @@ -1,6 +1,6 @@ # This test runs rabbitmq and checks if rabbitmq is up and running. -{ pkgs, ... }: +{ lib, pkgs, ... }: let # in real life, you would keep this out of your repo and deploy it to a safe # location using safe means. @@ -40,6 +40,8 @@ in ]. ''; }; + systemd.services.rabbitmq.serviceConfig.Restart = lib.mkForce "no"; + # Ensure there is sufficient extra disk space for rabbitmq to be happy virtualisation.diskSize = 1024; };