This is an automated email from the ASF dual-hosted git repository.
kenhuuu pushed a commit to branch interceptor-redesign
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/interceptor-redesign by this
push:
new fb78ea92af fix go test
fb78ea92af is described below
commit fb78ea92af1a6e0220c261ab325eb9006365972c
Author: Ken Hu <[email protected]>
AuthorDate: Tue Jun 2 08:47:35 2026 -0700
fix go test
---
gremlin-go/driver/connection_test.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gremlin-go/driver/connection_test.go
b/gremlin-go/driver/connection_test.go
index 96352a95b4..4f36a19b36 100644
--- a/gremlin-go/driver/connection_test.go
+++ b/gremlin-go/driver/connection_test.go
@@ -1385,7 +1385,7 @@ func TestInterceptorIntegration(t *testing.T) {
// First request should fail with interceptor error
rs, err := client.Submit("g.inject(1)")
assert.Nil(t, err)
- _, _, err = rs.One()
+ _, err = rs.All()
assert.NotNil(t, err)
assert.Contains(t, err.Error(), "interceptor broke")
@@ -1430,7 +1430,7 @@ func TestInterceptorIntegration(t *testing.T) {
// First request should fail with serialization error
rs, err := client.Submit("g.inject(1)")
assert.Nil(t, err)
- _, _, err = rs.One()
+ _, err = rs.All()
assert.NotNil(t, err)
assert.Contains(t, err.Error(), "unsupported body type")