Revert "nixos/tests/docker: wait for docker service"

This reverts commit c14bafd6c7db3b0c03574e28831821adda22a6f1.
This commit is contained in:
Mark Vainomaa 2021-01-15 15:53:43 +02:00
parent a81c27cd54
commit f53cf9a65c
No known key found for this signature in database
GPG key ID: 1B3F9523B542D315
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
testScript = with pkgs.dockerTools; ''
unix_time_second1 = "1970-01-01T00:00:01Z"
docker.wait_for_unit("docker.service")
docker.wait_for_unit("sockets.target")
with subtest("Ensure Docker images use a stable date by default"):
docker.succeed(

View file

@ -33,7 +33,7 @@ import ./make-test-python.nix ({ pkgs, ...} : {
testScript = ''
start_all()
docker.wait_for_unit("docker.service")
docker.wait_for_unit("sockets.target")
docker.succeed("tar cv --files-from /dev/null | docker import - scratchimg")
docker.succeed(
"docker run -d --name=sleeping -v /nix/store:/nix/store -v /run/current-system/sw/bin:/bin scratchimg /bin/sleep 10"