From 714545d61f9d76a813efd636a8826ad12b350e6a Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Fri, 16 Jun 2017 16:02:45 +0200 Subject: [PATCH] Speed up PV integration tests --- test/integration/volume/persistent_volumes_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/volume/persistent_volumes_test.go b/test/integration/volume/persistent_volumes_test.go index 3e2bb0c84e1..10b012b51ce 100644 --- a/test/integration/volume/persistent_volumes_test.go +++ b/test/integration/volume/persistent_volumes_test.go @@ -48,14 +48,14 @@ import ( // KUBE_INTEGRATION_PV_OBJECTS - nr. of PVs/PVCs to be created // (100 by default) // KUBE_INTEGRATION_PV_SYNC_PERIOD - volume controller sync period -// (10s by default) +// (1s by default) // KUBE_INTEGRATION_PV_END_SLEEP - for how long should // TestPersistentVolumeMultiPVsPVCs sleep when it's finished (0s by // default). This is useful to test how long does it take for periodic sync // to process bound PVs/PVCs. // const defaultObjectCount = 100 -const defaultSyncPeriod = 10 * time.Second +const defaultSyncPeriod = 1 * time.Second const provisionerPluginName = "kubernetes.io/mock-provisioner"