Unverified Commit 10664374 authored by Konstantinos Tsakalozos's avatar Konstantinos Tsakalozos Committed by GitHub
Browse files

Fixes on tests with IDE's help (#209)

parent 76f3e38d
......@@ -7,3 +7,4 @@
*.snap
microk8s_source.tar.bz2
tests/__pycache__
.idea/
......@@ -8,7 +8,7 @@ from validators import (
validate_forward,
validate_metrics_server,
)
from utils import microk8s_enable, wait_for_pod_state, microk8s_disable
from utils import wait_for_pod_state
class TestLiveAddons(object):
......
......@@ -14,7 +14,6 @@ from subprocess import check_call, CalledProcessError, check_output
from utils import (
microk8s_enable,
wait_for_pod_state,
microk8s_disable,
wait_for_installation,
run_until_success
)
......
......@@ -10,6 +10,7 @@ arch_translate = {
'x86_64': 'amd64'
}
def run_until_success(cmd, timeout_insec=60):
"""
Run a command untill it succeeds or times out.
......
......@@ -13,6 +13,7 @@ from utils import (
update_yaml_with_arch,
)
def validate_dns():
"""
Validate DNS by starting a busy box and nslookuping the kubernetes default service.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment