about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJacek Galowicz <jacek@galowicz.de>2020-08-24 07:36:34 +0200
committerGitHub <noreply@github.com>2020-08-24 07:36:34 +0200
commit45dd255d61cb6eccf1e1eb311ad72f86b2e04986 (patch)
tree5fb257c0c0adca33017772f23d1bb0e2973565b5 /nixos
parentb1499c30a1e15fb2b471f08767f216acec47c619 (diff)
parentaa55b14beba76e60a50c2c9381da1e768e96b925 (diff)
Merge pull request #96076 from flokli/port-test-hocker-fetchdocker
nixosTests.hocker-fetchdocker
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/hocker-fetchdocker/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/nixos/tests/hocker-fetchdocker/default.nix b/nixos/tests/hocker-fetchdocker/default.nix
index 4f30f01e40322..978dbf310b122 100644
--- a/nixos/tests/hocker-fetchdocker/default.nix
+++ b/nixos/tests/hocker-fetchdocker/default.nix
@@ -1,15 +1,16 @@
-import ../make-test.nix ({ pkgs, ...} : {
+import ../make-test-python.nix ({ pkgs, ...} : {
   name = "test-hocker-fetchdocker";
   meta = with pkgs.stdenv.lib.maintainers; {
     maintainers = [ ixmatus ];
+    broken = true; # tries to download from registry-1.docker.io - how did this ever work?
   };
 
   machine = import ./machine.nix;
 
   testScript = ''
-    startAll;
+    start_all()
 
-    $machine->waitForUnit("sockets.target");
-    $machine->waitUntilSucceeds("docker run registry-1.docker.io/v2/library/hello-world:latest");
+    machine.wait_for_unit("sockets.target")
+    machine.wait_until_succeeds("docker run registry-1.docker.io/v2/library/hello-world:latest")
   '';
 })