Skip to content

Commit 5c51258

Browse files
authored
chore: increase the timeout for resource cleanup in perf tests (#634)
This increases the timeout for resource cleanup in perf tests to 6 hours, which is the equivalent of max job execution time in GitHub Actions.
1 parent 6514da8 commit 5c51258

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/perf.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
perf:
2323
name: Perf
2424
runs-on: ubuntu-latest
25-
timeout-minutes: 540
25+
timeout-minutes: 360 # 6 hours is the maximum job execution time
2626
defaults:
2727
run:
2828
shell: bash

perf/terraform/modules/ci/cleanup.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ resource "aws_lambda_function" "cleanup" {
1818
variables = {
1919
REGIONS = jsonencode(var.regions)
2020
TAGS = jsonencode(var.tags)
21-
MAX_AGE_MINUTES = 120
21+
MAX_AGE_MINUTES = 360
2222
}
2323
}
2424
}

perf/terraform/modules/ci/test/cleanup.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Resources:
1313
Variables:
1414
REGIONS: '["us-west-2", "us-east-1"]'
1515
TAGS: '{"Project":"perf", "Name":"node"}'
16-
MAX_AGE_MINUTES: '120'
16+
MAX_AGE_MINUTES: '360'
1717
Policies:
1818
- AmazonEC2FullAccess
1919
Timeout: 30

0 commit comments

Comments
 (0)