Skip to content

Commit 7011a66

Browse files
committed
nixos/tests/k3s/etcd: add etcd health check
1 parent 6fbdb9b commit 7011a66

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

nixos/tests/k3s/etcd.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ import ../make-test-python.nix (
9090
with subtest("should wait for etcdctl endpoint status to succeed"):
9191
etcd.wait_until_succeeds("etcdctl endpoint status")
9292
93+
with subtest("should wait for etcdctl endpoint health to succeed"):
94+
etcd.wait_until_succeeds("etcdctl endpoint health")
95+
9396
with subtest("should start k3s"):
9497
k3s.start()
9598
k3s.wait_for_unit("k3s")

0 commit comments

Comments
 (0)