From 5eb17e8224203398b48808244c38b8d5c253cf41 Mon Sep 17 00:00:00 2001 From: Wojciech Tyczynski Date: Fri, 11 Dec 2015 09:25:34 +0100 Subject: [PATCH] Decrease scalability thresholds in e2e tests --- test/e2e/metrics_util.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/test/e2e/metrics_util.go b/test/e2e/metrics_util.go index a2d85da234388..caa8e0dbd80f0 100644 --- a/test/e2e/metrics_util.go +++ b/test/e2e/metrics_util.go @@ -38,11 +38,10 @@ import ( ) const ( - podStartupThreshold time.Duration = 5 * time.Second - // TODO: Decrease PodStartup latencies as soon as their perfomance improves - listPodLatencySmallThreshold time.Duration = 2 * time.Second - listPodLatencyMediumThreshold time.Duration = 4 * time.Second - listPodLatencyLargeThreshold time.Duration = 15 * time.Second + podStartupThreshold time.Duration = 5 * time.Second + listPodLatencySmallThreshold time.Duration = 500 * time.Millisecond + listPodLatencyMediumThreshold time.Duration = 1 * time.Second + listPodLatencyLargeThreshold time.Duration = 1 * time.Second apiCallLatencySmallThreshold time.Duration = 250 * time.Millisecond apiCallLatencyMediumThreshold time.Duration = 500 * time.Millisecond apiCallLatencyLargeThreshold time.Duration = 1 * time.Second