Increase delays between calling Stackdriver Logging API in e2e tests

This commit is contained in:
Mik Vyatskov 2017-03-23 16:29:35 +01:00
parent 13e2f5d9d7
commit e034987a71
2 changed files with 3 additions and 3 deletions

View File

@ -35,8 +35,8 @@ const (
// quota limit exceeded. So we retry for some time in case the problem will go away. // 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 // Quota is enforced every 100 seconds, so we have to wait for more than
// that to reliably get the next portion. // that to reliably get the next portion.
queryGclRetryDelay = 10 * time.Second queryGclRetryDelay = 100 * time.Second
queryGclRetryTimeout = 200 * time.Second queryGclRetryTimeout = 250 * time.Second
) )
type gclLogsProvider struct { type gclLogsProvider struct {

View File

@ -33,7 +33,7 @@ import (
const ( const (
// Duration of delay between any two attempts to check if all logs are ingested // 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 // Amount of requested cores for logging container in millicores
loggingContainerCpuRequest = 10 loggingContainerCpuRequest = 10