Skip to content

Commit

Permalink
Merge pull request #256 from ecordell/initial-delay
Browse files Browse the repository at this point in the history
Bug 1752063: increase initial delay for appregistry pods
  • Loading branch information
openshift-merge-robot committed Mar 16, 2020
2 parents bd34747 + 069005e commit 97ae993
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions pkg/registry/registry.go
Expand Up @@ -397,17 +397,17 @@ func (r *registry) newPodTemplateSpec(registryCommand []string, needServiceAccou
Command: action,
},
},
InitialDelaySeconds: 5,
FailureThreshold: 30,
InitialDelaySeconds: 30,
FailureThreshold: 10,
},
LivenessProbe: &core.Probe{
Handler: core.Handler{
Exec: &core.ExecAction{
Command: action,
},
},
InitialDelaySeconds: 5,
FailureThreshold: 30,
InitialDelaySeconds: 30,
FailureThreshold: 10,
},
Resources: core.ResourceRequirements{
Requests: core.ResourceList{
Expand Down
2 changes: 1 addition & 1 deletion scripts/e2e-tests.sh
Expand Up @@ -10,4 +10,4 @@ fi

# Run the tests through the operator-sdk
echo "Running operator-sdk test"
operator-sdk test local ./test/e2e/ --no-setup --go-test-flags "-v -timeout 20m" --namespace $TEST_NAMESPACE
operator-sdk test local ./test/e2e/ --no-setup --go-test-flags "-v -timeout 50m" --namespace $TEST_NAMESPACE

0 comments on commit 97ae993

Please sign in to comment.