Improve speed of tests execution (#1861)

This commit is contained in:
Manuel Alejandro de Brito Fontes 2017-12-27 08:16:59 -03:00 committed by GitHub
parent 54cfad0a07
commit f732b4ea2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -56,7 +56,7 @@ func (f *Framework) NewEchoDeploymentWithReplicas(replicas int32) error {
},
},
Spec: corev1.PodSpec{
TerminationGracePeriodSeconds: NewInt64(1),
TerminationGracePeriodSeconds: NewInt64(0),
Containers: []corev1.Container{
{
Name: "http-svc",

View file

@ -26,7 +26,8 @@ curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/miniku
sudo mv minikube /usr/local/bin/
echo "starting minikube..."
sudo minikube start --vm-driver=none --kubernetes-version=$KUBERNETES_VERSION
# Using sync-frequency=5s helps to speed up the tests (during the cleanup of resources inside a namespace)
sudo minikube start --vm-driver=none --kubernetes-version=$KUBERNETES_VERSION --extra-config=kubelet.sync-frequency=5s
minikube update-context