nixos/test: some test fixes in succession of #125992

This commit is contained in:
David Arnold 2021-08-20 13:18:59 -05:00
parent 571044ad8a
commit c1fcae3e88
No known key found for this signature in database
GPG Key ID: AB15A6AF1101390D
2 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,7 @@ let
with subtest("Postgresql survives restart (bug #1735)"):
machine.shutdown()
import time
time.sleep(2)
machine.start()
machine.wait_for_unit("postgresql")

View File

@ -57,6 +57,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
else:
if check_success():
return
import time
time.sleep(retry_sleep)
if not check_success():