Improve speed of tests execution

This commit is contained in:
Manuel de Brito Fontes 2017-12-27 07:59:44 -03:00
parent 5c304cb032
commit 0373f60a4b
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