From 3d1c4c113b1cefea010d94ed89bf2104643d322c Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Tue, 28 Mar 2023 10:37:17 -0700 Subject: [PATCH] Update golang tests PiperOrigin-RevId: 520069861 --- .buildkite/pipeline.yaml | 2 +- images/runtimes/{go1.16 => go1.20}/Dockerfile.x86_64 | 2 +- test/runtimes/BUILD | 4 ++-- test/runtimes/exclude/{go1.16.csv => go1.20.csv} | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename images/runtimes/{go1.16 => go1.20}/Dockerfile.x86_64 (87%) rename test/runtimes/exclude/{go1.16.csv => go1.20.csv} (100%) diff --git a/.buildkite/pipeline.yaml b/.buildkite/pipeline.yaml index 2919ee004..cc4945910 100644 --- a/.buildkite/pipeline.yaml +++ b/.buildkite/pipeline.yaml @@ -448,7 +448,7 @@ steps: - <<: *common <<: *docker label: ":golang: Go runtime tests" - command: make RUNTIME_LOG_DIR=/tmp/$${BUILDKITE_JOB_ID} go1.16-runtime-tests + command: make RUNTIME_LOG_DIR=/tmp/$${BUILDKITE_JOB_ID} go1.20-runtime-tests parallelism: 10 agents: <<: *platform_specific_agents diff --git a/images/runtimes/go1.16/Dockerfile.x86_64 b/images/runtimes/go1.20/Dockerfile.x86_64 similarity index 87% rename from images/runtimes/go1.16/Dockerfile.x86_64 rename to images/runtimes/go1.20/Dockerfile.x86_64 index d454dfcfb..94efb9cfd 100644 --- a/images/runtimes/go1.16/Dockerfile.x86_64 +++ b/images/runtimes/go1.20/Dockerfile.x86_64 @@ -1,4 +1,4 @@ -FROM golang:1.16 +FROM golang:1.20 # Compile the tests during build to save time during testing. RUN ["go", "tool", "dist", "test", "-compile-only"] diff --git a/test/runtimes/BUILD b/test/runtimes/BUILD index 7d0f236cb..51791d4d4 100644 --- a/test/runtimes/BUILD +++ b/test/runtimes/BUILD @@ -7,8 +7,8 @@ package( ) runtime_test( - name = "go1.16", - exclude_file = "exclude/go1.16.csv", + name = "go1.20", + exclude_file = "exclude/go1.20.csv", lang = "go", shard_count = more_shards, ) diff --git a/test/runtimes/exclude/go1.16.csv b/test/runtimes/exclude/go1.20.csv similarity index 100% rename from test/runtimes/exclude/go1.16.csv rename to test/runtimes/exclude/go1.20.csv