Commit 69e2e82b authored by Robert Rose's avatar Robert Rose
Browse files

nixos/k3s: increase timeout in tests

Increase the timout for the import of container images in the `airgap-images`
test from 60s to 120s to counter flaky tests.
parent c4bd5f96
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ import ../make-test-python.nix (

      start_all()
      machine.wait_for_unit("k3s")
      machine.wait_until_succeeds("journalctl -r --no-pager -u k3s | grep \"Imported images from /var/lib/rancher/k3s/agent/images/\"", timeout=60)
      machine.wait_until_succeeds("journalctl -r --no-pager -u k3s | grep \"Imported images from /var/lib/rancher/k3s/agent/images/\"", timeout=120)
      images = json.loads(machine.succeed("crictl img -o json"))
      image_names = [i["repoTags"][0] for i in images["images"]]
      with open("${k3s.imagesList}") as expected_images: