diff options
author | KJ Ørbekk <kj@orbekk.com> | 2017-05-16 15:00:28 -0400 |
---|---|---|
committer | KJ Ørbekk <kj@orbekk.com> | 2017-05-16 15:00:28 -0400 |
commit | c10b10f17b86f0dc8af1ffd2b81e2303a4dad84e (patch) | |
tree | 41396a2a71e644847e35b0034959b4de4e3ce9da /tests | |
parent | 096421f921665a358e8c000ca8a5493dda5f7b8f (diff) |
gitlab-test: Fix machine name.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gitlab.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/gitlab.nix b/tests/gitlab.nix index a3d641b..1d9985f 100644 --- a/tests/gitlab.nix +++ b/tests/gitlab.nix @@ -6,9 +6,9 @@ import <nixpkgs/nixos/tests/make-test.nix> ( { pkgs, ... }: { services.gitlab.secrets = { db = "password1"; otp = "password2"; secret = "password3"; }; }; testScript = '' - $gitlab->start(); - $gitlab->waitForUnit("gitlab.service"); - $gitlab->waitForUnit("gitlab-sidekiq.service"); - $gitlab->waitUntilSucceeds("curl http://localhost:8080/users/sign_in"); + $machine->start(); + $machine->waitForUnit("gitlab.service"); + $machine->waitForUnit("gitlab-sidekiq.service"); + $machine->waitUntilSucceeds("curl http://localhost:8080/users/sign_in"); ''; }) |