Get tests that need volumes working

Change-Id: Ie71c6907720066f0a87569be733b0c620eeca310
This commit is contained in:
Davanum Srinivas 2017-04-05 22:48:55 -04:00
parent 264904ba1e
commit c85b96381c
2 changed files with 25 additions and 10 deletions

View File

@ -24,24 +24,36 @@ TESTS_TO_SKIP=(
'\[Flaky\]'
'\[Feature:.+\]'
'\[HPA\]'
'Basic.*StatefulSet.*functionality.*should.*allow.*template.*updates'
'Dashboard'
'Granular.*Checks.*Pods.*should.*function.*for.*node\-pod.*communication:.*udp'
'Guestbook.*application.*should.*create.*and.*stop.*a.*working.*application'
'NFS.*should.*be.*mountable'
'provide.*basic.*identity'
'should.*adopt.*matching.*orphans.*and.*release.*non.*matching.*pods'
'should.*allow.*template.*updates'
'RecreateDeployment.*should.*delete.*old.*pods.*and.*create.*new.*ones'
'Simple.*pod.*should.*handle.*in\-cluster.*config'
'Simple.*pod.*should.*support.*exec.*through.*an.*HTTP.*proxy'
'With.*a.*server.*listening.*on.*localhost.*that.*expects.*no.*client.*request.*should.*support.*a.*client.*that.*connects.*sends.*data.*and.*disconnects'
'evictions:.*too.*few.*pods,.*absolute.*should.*not.*allow.*an.*eviction'
'optional.*updates.*should.*be.*reflected.*in.*volume'
'paused.*deployment.*should.*be.*ignored.*by.*the.*controller'
'should.*be.*consumable.*from.*pods.*in.*volume.*with.*mappings'
'should.*be.*restarted.*with.*a.*healthz.*http.*liveness.*probe'
'should.*call.*prestop.*when.*killing.*a.*pod'
'should.*create.*and.*stop.*a.*working.*application'
'should.*create.*a.*ResourceQuota.*and.*capture.*the.*life.*of.*a.*secret'
'should.*create.*endpoints.*for.*unready.*pods'
'should.*handle.*in.*cluster.*config'
'should.*not.*deadlock.*when.*a.*pod.s.*predecessor.*fails'
'should.*enable.*privileged.*commands'
'should.*function.*for.*nod\-pod.*communication.*http'
'should.*not.*start.*app.*containers.*if.*init.*containers.*fail.*on.*a.*RestartAlways.*pod'
'should.*provide.*DNS.*for.*ExternalName.*services'
'should.*provide.*DNS.*for.*pods.*for.*Hostname.*and.*Subdomain.*Annotation'
'should.*provide.*DNS.*for.*services'
'should.*provide.*DNS.*for.*the.*cluster'
'should.*serve.*a.*basic.*endpoint.*from.*pods'
'should.*support.*exec.*through.*an.*HTTP.*proxy'
'should.*update.*labels.*on.*modification'
)
'should.*provide.*basic.*identity'
'should.*provide.*container.*s.*cpu.*limit'
'should.*set.*mode.*on.*item.*file'
'should.*support.*non-root.*0666.*default'
'should.*support.*remote.*command.*execution.*over.*websockets'
)
function skipped_test_names () {
local first=y

View File

@ -35,6 +35,8 @@ function install_prereqs {
# Install pre-reqs
$BASE_DIR/tools/install-distro-packages.sh
$BASE_DIR/tools/test-setup.sh
install_package nfs-common
}
@ -96,6 +98,7 @@ function install_k8s_cloud_provider {
export ALLOW_PRIVILEGED=true
export ALLOW_SECURITY_CONTEXT=true
export ALLOW_ANY_TOKEN=true
export ENABLE_HOSTPATH_PROVISIONER=true
run_process kubernetes "sudo -E PATH=$PATH hack/local-up-cluster.sh"
popd >/dev/null