This is an automated email from the ASF dual-hosted git repository.

derrickaw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new a3d32977f46 Bump github.com/testcontainers/testcontainers-go from 
0.42.0 to 0.43.0 in /sdks (#39053)
a3d32977f46 is described below

commit a3d32977f460b53276e9dd2db75b63110c7425f9
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Sat Jul 4 08:46:23 2026 -0400

    Bump github.com/testcontainers/testcontainers-go from 0.42.0 to 0.43.0 in 
/sdks (#39053)
    
    * Bump github.com/testcontainers/testcontainers-go in /sdks
    
    Bumps 
[github.com/testcontainers/testcontainers-go](https://github.com/testcontainers/testcontainers-go)
 from 0.42.0 to 0.43.0.
    - [Release 
notes](https://github.com/testcontainers/testcontainers-go/releases)
    - 
[Commits](https://github.com/testcontainers/testcontainers-go/compare/v0.42.0...v0.43.0)
    
    ---
    updated-dependencies:
    - dependency-name: github.com/testcontainers/testcontainers-go
      dependency-version: 0.43.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    * fix jdbc_test
    
    ---------
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] 
<49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Derrick Williams <[email protected]>
---
 sdks/go.mod                                         | 4 ++--
 sdks/go.sum                                         | 8 ++++----
 sdks/go/test/integration/io/xlang/jdbc/jdbc_test.go | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/sdks/go.mod b/sdks/go.mod
index 24781a27b0c..a597578df52 100644
--- a/sdks/go.mod
+++ b/sdks/go.mod
@@ -50,7 +50,7 @@ require (
        github.com/nats-io/nats.go v1.52.0
        github.com/proullon/ramsql v0.1.4
        github.com/spf13/cobra v1.10.2
-       github.com/testcontainers/testcontainers-go v0.42.0
+       github.com/testcontainers/testcontainers-go v0.43.0
        github.com/tetratelabs/wazero v1.12.0
        github.com/xitongsys/parquet-go v1.6.2
        github.com/xitongsys/parquet-go-source 
v0.0.0-20241021075129-b732d2ac9c9b
@@ -117,7 +117,7 @@ require (
        github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 
// indirect
        github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // 
indirect
        github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // 
indirect
-       github.com/shirou/gopsutil/v4 v4.26.4 // indirect
+       github.com/shirou/gopsutil/v4 v4.26.5 // indirect
        github.com/spiffe/go-spiffe/v2 v2.6.0 // indirect
        github.com/stretchr/testify v1.11.1 // indirect
        github.com/tklauser/go-sysconf v0.4.0 // indirect
diff --git a/sdks/go.sum b/sdks/go.sum
index 3b92e74e772..ea12281ba15 100644
--- a/sdks/go.sum
+++ b/sdks/go.sum
@@ -765,8 +765,8 @@ github.com/ruudk/golang-pdf417 
v0.0.0-20181029194003-1af4ab5afa58/go.mod h1:6lfF
 github.com/ryszard/goskiplist v0.0.0-20150312221310-2dfbae5fcf46 
h1:GHRpF1pTW19a8tTFrMLUcfWwyC0pnifVo2ClaLq+hP8=
 github.com/ryszard/goskiplist v0.0.0-20150312221310-2dfbae5fcf46/go.mod 
h1:uAQ5PCi+MFsC7HjREoAz1BU+Mq60+05gifQSsHSDG/8=
 github.com/satori/go.uuid v1.2.0/go.mod 
h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0=
-github.com/shirou/gopsutil/v4 v4.26.4 
h1:B4SXVbcwTyrocPHEmWBC4uCYr4Xcu3MK1TXqbprAOWY=
-github.com/shirou/gopsutil/v4 v4.26.4/go.mod 
h1:LZ6ewCSkBqUpvSOf+LsTGnRinC6iaNUNMGBtDkJBaLQ=
+github.com/shirou/gopsutil/v4 v4.26.5 
h1:RPcBXkpz7kOj9PqGFQOlBPZHsyaPvPVQc098y9RmCNM=
+github.com/shirou/gopsutil/v4 v4.26.5/go.mod 
h1:LZ6ewCSkBqUpvSOf+LsTGnRinC6iaNUNMGBtDkJBaLQ=
 github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod 
h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4=
 github.com/shopspring/decimal v1.2.0/go.mod 
h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o=
 github.com/sirupsen/logrus v1.4.1/go.mod 
h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q=
@@ -804,8 +804,8 @@ github.com/stretchr/testify v1.8.0/go.mod 
h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO
 github.com/stretchr/testify v1.8.1/go.mod 
h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
 github.com/stretchr/testify v1.11.1 
h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
 github.com/stretchr/testify v1.11.1/go.mod 
h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
-github.com/testcontainers/testcontainers-go v0.42.0 
h1:He3IhTzTZOygSXLJPMX7n44XtK+qhjat1nI9cneBbUY=
-github.com/testcontainers/testcontainers-go v0.42.0/go.mod 
h1:vZjdY1YmUA1qEForxOIOazfsrdyORJAbhi0bp8plN30=
+github.com/testcontainers/testcontainers-go v0.43.0 
h1:oEQx5MW2DGd9z3AeEQfB2lPM0eLs7ztyaGRu75bFo5A=
+github.com/testcontainers/testcontainers-go v0.43.0/go.mod 
h1:+VxkT2NQnKOZPKi6praMuMKYHYyOGXr0XSBSlSMCzFo=
 github.com/tetratelabs/wazero v1.12.0 
h1:DuWcpNu/FzgEXgGBDp8J1Spc+CWOvvtvVyjKlaZopYU=
 github.com/tetratelabs/wazero v1.12.0/go.mod 
h1:LvKtzl2RqO4gyF27BiXU+nKAjcV8f38U+kP/q2vgxh0=
 github.com/tinylib/msgp v1.3.0 h1:ULuf7GPooDaIlbyvgAxBV/FI7ynli6LZ1/nVUNu+0ww=
diff --git a/sdks/go/test/integration/io/xlang/jdbc/jdbc_test.go 
b/sdks/go/test/integration/io/xlang/jdbc/jdbc_test.go
index 2ea84d42798..55302efc685 100644
--- a/sdks/go/test/integration/io/xlang/jdbc/jdbc_test.go
+++ b/sdks/go/test/integration/io/xlang/jdbc/jdbc_test.go
@@ -32,7 +32,7 @@ import (
        "github.com/apache/beam/sdks/v2/go/test/integration/internal/containers"
        _ "github.com/go-sql-driver/mysql"
        _ "github.com/lib/pq"
-       "strings"
+       "github.com/moby/moby/api/types/network"
        "github.com/testcontainers/testcontainers-go/wait"
 )
 
@@ -60,8 +60,8 @@ func setupTestContainer(ctx context.Context, t *testing.T, 
dbname, username, pas
        }
        hostname := "localhost"
 
-       dbURL := func(host string, port string) string {
-               cleanPort := strings.Split(port, "/")[0]
+       dbURL := func(host string, port network.Port) string {
+               cleanPort := port.Port()
                return fmt.Sprintf("postgres://%s:%s@%s:%s/%s?sslmode=disable", 
username, password, host, cleanPort, dbname)
        }
        waitStrategy := wait.ForSQL(postgresPort, "postgres", 
dbURL).WithStartupTimeout(time.Second * 5)

Reply via email to