From e034987a7199bbc6c3d62804668a5e603d20d75a Mon Sep 17 00:00:00 2001 From: Mik Vyatskov Date: Thu, 23 Mar 2017 16:29:35 +0100 Subject: [PATCH] Increase delays between calling Stackdriver Logging API in e2e tests --- test/e2e/cluster_logging_gcl_utils.go | 4 ++-- test/e2e/cluster_logging_utils.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/e2e/cluster_logging_gcl_utils.go b/test/e2e/cluster_logging_gcl_utils.go index 8efa5a8191f..30705f36c54 100644 --- a/test/e2e/cluster_logging_gcl_utils.go +++ b/test/e2e/cluster_logging_gcl_utils.go @@ -35,8 +35,8 @@ const ( // quota limit exceeded. So we retry for some time in case the problem will go away. // Quota is enforced every 100 seconds, so we have to wait for more than // that to reliably get the next portion. - queryGclRetryDelay = 10 * time.Second - queryGclRetryTimeout = 200 * time.Second + queryGclRetryDelay = 100 * time.Second + queryGclRetryTimeout = 250 * time.Second ) type gclLogsProvider struct { diff --git a/test/e2e/cluster_logging_utils.go b/test/e2e/cluster_logging_utils.go index a8346a29541..9e6c47873be 100644 --- a/test/e2e/cluster_logging_utils.go +++ b/test/e2e/cluster_logging_utils.go @@ -33,7 +33,7 @@ import ( const ( // Duration of delay between any two attempts to check if all logs are ingested - ingestionRetryDelay = 10 * time.Second + ingestionRetryDelay = 100 * time.Second // Amount of requested cores for logging container in millicores loggingContainerCpuRequest = 10