mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
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)"):
|
with subtest("Postgresql survives restart (bug #1735)"):
|
||||||
machine.shutdown()
|
machine.shutdown()
|
||||||
|
import time
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
machine.start()
|
machine.start()
|
||||||
machine.wait_for_unit("postgresql")
|
machine.wait_for_unit("postgresql")
|
||||||
|
@ -57,6 +57,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
|
|||||||
else:
|
else:
|
||||||
if check_success():
|
if check_success():
|
||||||
return
|
return
|
||||||
|
import time
|
||||||
time.sleep(retry_sleep)
|
time.sleep(retry_sleep)
|
||||||
|
|
||||||
if not check_success():
|
if not check_success():
|
||||||
|
Loading…
Reference in New Issue
Block a user