This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new 26c676925 test(go/adbc/driver/flightsql): bind to any free port (#4594)
26c676925 is described below
commit 26c67692502e75a17dd5ba84da1ea38724fc4a76
Author: David Li <[email protected]>
AuthorDate: Mon Jul 27 15:14:57 2026 -0700
test(go/adbc/driver/flightsql): bind to any free port (#4594)
Closes #4592.
---
go/adbc/driver/flightsql/example_usage_test.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/go/adbc/driver/flightsql/example_usage_test.go
b/go/adbc/driver/flightsql/example_usage_test.go
index 53eefa15a..446dc42b9 100644
--- a/go/adbc/driver/flightsql/example_usage_test.go
+++ b/go/adbc/driver/flightsql/example_usage_test.go
@@ -126,7 +126,7 @@ func Example() {
server := flight.NewServerWithMiddleware(nil)
server.RegisterFlightService(flightsql.NewFlightServer(srv))
- err = server.Init("localhost:8080")
+ err = server.Init("localhost:0")
if err != nil {
log.Fatal(err)
}