forked from TrueCloudLab/frostfs-testcases
[#182] Updates for dev-env
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
This commit is contained in:
parent
5bc170e6f9
commit
3a380755b4
2 changed files with 10 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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"):
|
||||
|
|
Loading…
Reference in a new issue