Skip to content

Commit efc55ba

Browse files
authored
Upgrade go version and fix soak tests (#590)
1 parent 1591977 commit efc55ba

File tree

9 files changed

+10
-8
lines changed

9 files changed

+10
-8
lines changed

.github/workflows/canary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
submodules: recursive
6868
- uses: actions/setup-go@v4
6969
with:
70-
go-version: '^1.20.2'
70+
go-version: '^1.20.5'
7171
- uses: actions/setup-java@v3
7272
if: ${{ matrix.language == 'java' }}
7373
with:

.github/workflows/main-build-python38.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
submodules: recursive
3434
- uses: actions/setup-go@v4
3535
with:
36-
go-version: '^1.20.2'
36+
go-version: '^1.20.5'
3737
- uses: actions/setup-python@v4
3838
if: ${{ matrix.language == 'python' }}
3939
with:

.github/workflows/main-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
submodules: recursive
8585
- uses: actions/setup-go@v4
8686
with:
87-
go-version: '^1.20.2'
87+
go-version: '^1.20.5'
8888
- uses: actions/setup-java@v3
8989
if: ${{ matrix.language == 'java' }}
9090
with:

.github/workflows/pr-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
submodules: true
2525
- uses: actions/setup-go@v4
2626
with:
27-
go-version: '^1.20.2'
27+
go-version: '^1.20.5'
2828
- uses: actions/setup-java@v3
2929
if: ${{ matrix.language == 'java' }}
3030
with:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ jobs:
272272
# above, always setup go 1.18.
273273
# if: ${{ env.TEST_LANGUAGE == 'go' }}
274274
with:
275-
go-version: '^1.20.2'
275+
go-version: '^1.20.5'
276276
- name: download layer tf file
277277
uses: actions/download-artifact@v3
278278
with:

.github/workflows/soaking.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
submodules: recursive
6868
- uses: actions/setup-go@v4
6969
with:
70-
go-version: '^1.20.2'
70+
go-version: '^1.20.5'
7171
- uses: actions/setup-java@v3
7272
if: ${{ matrix.language == 'java' }}
7373
with:

python/integration-tests/aws-sdk/wrapper/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module "test-function" {
3030
create_package = false
3131
local_existing_package = "${path.module}/../../../sample-apps/build/function.zip"
3232

33-
memory_size = 512
33+
memory_size = 384
3434
timeout = 20
3535

3636
layers = compact([

python/sample-apps/aws-sdk/deploy/wrapper/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ module "test-function" {
1818
create_package = false
1919
local_existing_package = "${path.module}/../../../build/function.zip"
2020

21+
memory_size = 384
2122
timeout = 20
2223

2324
layers = compact([

python/sample-apps/function/lambda_function.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
import requests
44
import boto3
55

6+
client = boto3.client("s3")
7+
68
# lambda function
79
def lambda_handler(event, context):
810

911
requests.get("https://aws.amazon.com/")
1012

11-
client = boto3.client("s3")
1213
client.list_buckets()
1314

1415
return {"body": os.environ.get("_X_AMZN_TRACE_ID")}

0 commit comments

Comments
 (0)