Skip to content

Commit

Permalink
set bigger timeouts for e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed May 10, 2024
1 parent ed37442 commit 5c16ead
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion component/component/rbac_e2e.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ local e2eClusterRole = kube.ClusterRole('appcat:e2e') + {
apiGroups: [ 'batch' ],
resources: [ 'jobs', 'cronjobs', 'jobs/finalizers', 'cronjobs/finalizers' ],
verbs: [ 'get', 'list', 'create', 'delete' ],
}
},
],
};

Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/common/scripts/trigger-maintenance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ kubectl -n "$ns" delete job --ignore-not-found=true --now=true vacuum databasesr
kubectl -n "$ns" create job --from cronjob/maintenancejob test

# wait until job is done
kubectl -n "$ns" wait --for=condition=complete --timeout=240s job/test
kubectl -n "$ns" wait --for=condition=complete --timeout=1000s job/test

if [ "$to_be_found" == "r" ]; then
kubectl -n "$ns" get job
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/postgresql/04-vacuum-repack-validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
- script: scripts/trigger-maintenance.sh vshnpostgresql postgresql-e2e-test b
timeout: 600
timeout: 1000
2 changes: 1 addition & 1 deletion tests/e2e/postgresql/05-repack-validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
- script: scripts/trigger-maintenance.sh vshnpostgresql postgresql-e2e-test r
timeout: 600
timeout: 1000
2 changes: 1 addition & 1 deletion tests/e2e/postgresql/06-vacuum-validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
- script: scripts/trigger-maintenance.sh vshnpostgresql postgresql-e2e-test r
timeout: 600
timeout: 1000

0 comments on commit 5c16ead

Please sign in to comment.