Improve speed of tests execution (#1861)
This commit is contained in:
parent
54cfad0a07
commit
f732b4ea2f
2 changed files with 3 additions and 2 deletions
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue