From 5ee1e950f1e2be10762f5f08fe82bb7bd3a68bb4 Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Wed, 3 Feb 2021 15:01:34 +0100 Subject: Change 'rke' role testing strategy So far Molecule framework setup allowed full rke cluster deployment in testing env but since rke cluster often fails to deploy in resource constrained CI environment this change switches testing strategy to only simulate 'rke up' operation. Change-Id: Ia221da6666d558e086cd24155f5bd81237d82388 Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski --- ansible/roles/rke/molecule/default/tests/test_nodes.py | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 ansible/roles/rke/molecule/default/tests/test_nodes.py (limited to 'ansible/roles/rke/molecule/default/tests/test_nodes.py') diff --git a/ansible/roles/rke/molecule/default/tests/test_nodes.py b/ansible/roles/rke/molecule/default/tests/test_nodes.py deleted file mode 100644 index 60413018..00000000 --- a/ansible/roles/rke/molecule/default/tests/test_nodes.py +++ /dev/null @@ -1,13 +0,0 @@ -import os -import pytest - -import testinfra.utils.ansible_runner - -testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner( - os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('kubernetes-node') - - -@pytest.mark.parametrize('container_name', [ - 'kubelet', 'kube-proxy']) -def test_container_running(host, container_name): - assert host.docker(container_name).is_running -- cgit 1.2.3-korg