diff options
author | 2021-02-03 15:01:34 +0100 | |
---|---|---|
committer | 2021-02-03 15:01:34 +0100 | |
commit | 5ee1e950f1e2be10762f5f08fe82bb7bd3a68bb4 (patch) | |
tree | ec7095c8cd6ae287f133f0c3e3582e937eb6ade8 /ansible/roles/rke/molecule/default/tests/test_nodes.py | |
parent | 31d3a265b3f7613f1af536c4a04f119ea83d9794 (diff) |
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 <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'ansible/roles/rke/molecule/default/tests/test_nodes.py')
-rw-r--r-- | ansible/roles/rke/molecule/default/tests/test_nodes.py | 13 |
1 files changed, 0 insertions, 13 deletions
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 |