From 3a380755b46ea16bd0906eb37fa5a77f68057de8 Mon Sep 17 00:00:00 2001 From: Andrey Berezin Date: Fri, 12 Jan 2024 18:16:56 +0300 Subject: [PATCH] [#182] Updates for dev-env Signed-off-by: Andrey Berezin --- .devenv.hosting.yaml | 4 ++++ pytest_tests/testsuites/conftest.py | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/.devenv.hosting.yaml b/.devenv.hosting.yaml index d7bbf9e..6522c24 100644 --- a/.devenv.hosting.yaml +++ b/.devenv.hosting.yaml @@ -3,6 +3,10 @@ hosts: attributes: sudo_shell: false plugin_name: docker + healthcheck_plugin_name: basic + attributes: + skip_readiness_check: True + force_transactions: True services: - name: s01 attributes: diff --git a/pytest_tests/testsuites/conftest.py b/pytest_tests/testsuites/conftest.py index 72be007..8e0b8b1 100644 --- a/pytest_tests/testsuites/conftest.py +++ b/pytest_tests/testsuites/conftest.py @@ -371,6 +371,12 @@ def after_deploy_healthcheck(cluster: Cluster): @wait_for_success(60 * SERVICE_ACTIVE_TIME * 3, 60, title="Wait for {cluster_node} readiness") def readiness_on_node(cluster_node: ClusterNode): + if ( + "skip_readiness_check" in cluster_node.host.config.attributes + and cluster_node.host.config.attributes["skip_readiness_check"] + ): + return + # TODO: Move to healtcheck classes svc_name = cluster_node.service(StorageNode).get_service_systemctl_name() with reporter.step(f"Check service {svc_name} is active"):