From 6f264ccb432c60de81e226a593cbdddadecbf593 Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Thu, 3 Mar 2022 20:41:32 +0100 Subject: [PATCH] Fix problem with hanging test step --- tests/webapps-agnostic-supervisord-stateless.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/webapps-agnostic-supervisord-stateless.nix b/tests/webapps-agnostic-supervisord-stateless.nix index 9392379..4df846d 100644 --- a/tests/webapps-agnostic-supervisord-stateless.nix +++ b/tests/webapps-agnostic-supervisord-stateless.nix @@ -31,6 +31,7 @@ makeTest { environment.systemPackages = [ pkgs.stdenv + pkgs.daemon pkgs.pythonPackages.supervisor pkgs.dysnomia tools.common @@ -51,7 +52,7 @@ makeTest { # Deploy the advanced example with multiple instances and see if it works machine.succeed( - "${env} nixproc-supervisord-deploy-stateless ${nix-processmgmt}/examples/webapps-agnostic/processes.nix &" + "${env} daemon --inherit --unsafe -- nixproc-supervisord-deploy-stateless ${nix-processmgmt}/examples/webapps-agnostic/processes.nix" ) machine.wait_for_open_port(9001)