nixos/preload: init
[NixPkgs.git] / nixos / tests / hocker-fetchdocker / default.nix
blobb5c06126c2e80532590c9d62f6e73bb17952c7bb
1 import ../make-test-python.nix ({ pkgs, ...} : {
2   name = "test-hocker-fetchdocker";
3   meta = with pkgs.lib.maintainers; {
4     maintainers = [ ixmatus ];
5     broken = true; # tries to download from registry-1.docker.io - how did this ever work?
6   };
8   nodes.machine = import ./machine.nix;
10   testScript = ''
11     start_all()
13     machine.wait_for_unit("sockets.target")
14     machine.wait_until_succeeds("docker run registry-1.docker.io/v2/library/hello-world:latest")
15   '';