about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorf--t <2817965+f--t@users.noreply.github.com>2019-11-19 13:14:40 -0800
committerGitHub <noreply@github.com>2019-11-19 13:14:40 -0800
commitd7982b7382f61a524de4eaf8bbfb25156be4c6c2 (patch)
tree9f6718049550f85b589ae25423be3380bd3bc284 /nixos
parent6a600b1c22268198df93e977c5d32696da9291b9 (diff)
parentddc35b13f60f2c8f83e7bc87bc18aacebdf6fe45 (diff)
downloadnixlib-d7982b7382f61a524de4eaf8bbfb25156be4c6c2.tar
nixlib-d7982b7382f61a524de4eaf8bbfb25156be4c6c2.tar.gz
nixlib-d7982b7382f61a524de4eaf8bbfb25156be4c6c2.tar.bz2
nixlib-d7982b7382f61a524de4eaf8bbfb25156be4c6c2.tar.lz
nixlib-d7982b7382f61a524de4eaf8bbfb25156be4c6c2.tar.xz
nixlib-d7982b7382f61a524de4eaf8bbfb25156be4c6c2.tar.zst
nixlib-d7982b7382f61a524de4eaf8bbfb25156be4c6c2.zip
Merge pull request #1 from DinCahill/fix/roundcube
roundcube: tests - add space to db password, check setup script worked
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/roundcube.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/tests/roundcube.nix b/nixos/tests/roundcube.nix
index ed0ebd7dd19d..76b735a8c747 100644
--- a/nixos/tests/roundcube.nix
+++ b/nixos/tests/roundcube.nix
@@ -9,7 +9,7 @@ import ./make-test.nix ({ pkgs, ...} : {
       services.roundcube = {
         enable = true;
         hostName = "roundcube";
-        database.password = "notproduction";
+        database.password = "not production";
         package = pkgs.roundcube.withPlugins (plugins: [ plugins.persistent_login ]);
         plugins = [ "persistent_login" ];
       };
@@ -23,6 +23,7 @@ import ./make-test.nix ({ pkgs, ...} : {
   testScript = ''
     $roundcube->start;
     $roundcube->waitForUnit("postgresql.service");
+    $roundcube->waitForUnit("roundcube-setup.service");
     $roundcube->waitForUnit("phpfpm-roundcube.service");
     $roundcube->waitForUnit("nginx.service");
     $roundcube->succeed("curl -sSfL http://roundcube/ | grep 'Keep me logged in'");