nixos/test: some test fixes in succession of #125992
This commit is contained in:
parent
571044ad8a
commit
c1fcae3e88
|
@ -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")
|
||||
|
|
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue
Block a user