git.iko.soy/typeable/nixpkgs
on master help sign in
Revert "nixos/tests/docker: wait for docker service"

This reverts commit c14bafd6c7db3b0c03574e28831821adda22a6f1.

commitf53cf9a65c83c400aec421cb2eb105acc75431f6 authorMark Vainomaa <mikroskeem@mikroskeem.eu> dateFri 15 Jan 2021, 15:53 (6 years ago) parenta81c27c
2 files changed+2−2
nixos/tests/docker-tools.nix+1−1 nixos/tests/docker.nix+1−1
nixos/tests/docker-tools.nix+1−1
@@ -18,7 +18,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
1818 testScript = with pkgs.dockerTools; ''
1919 unix_time_second1 = "1970-01-01T00:00:01Z"
2020
21− docker.wait_for_unit("docker.service")
21+ docker.wait_for_unit("sockets.target")
2222
2323 with subtest("Ensure Docker images use a stable date by default"):
2424 docker.succeed(
nixos/tests/docker.nix+1−1
@@ -33,7 +33,7 @@ import ./make-test-python.nix ({ pkgs, ...} : {
3333 testScript = ''
3434 start_all()
3535
36− docker.wait_for_unit("docker.service")
36+ docker.wait_for_unit("sockets.target")
3737 docker.succeed("tar cv --files-from /dev/null | docker import - scratchimg")
3838 docker.succeed(
3939 "docker run -d --name=sleeping -v /nix/store:/nix/store -v /run/current-system/sw/bin:/bin scratchimg /bin/sleep 10"