Skip to content

Commit

Permalink
test: Update go_client version & update latest changes
Browse files Browse the repository at this point in the history
Related to #37768

Signed-off-by: Congqi Xia <[email protected]>
  • Loading branch information
congqixia committed Nov 19, 2024
1 parent 33bfb25 commit 14ce8e3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/go_client/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
toolchain go1.21.11

require (
github.com/milvus-io/milvus/client/v2 v2.0.0-20241111031027-fca946dee181
github.com/milvus-io/milvus/client/v2 v2.0.0-20241119025033-33bfb25c73b2
github.com/milvus-io/milvus/pkg v0.0.2-0.20241111021426-5e90f348fcbb
github.com/quasilyte/go-ruleguard/dsl v0.3.22
github.com/stretchr/testify v1.9.0
Expand Down
4 changes: 2 additions & 2 deletions tests/go_client/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,8 @@ github.com/microcosm-cc/bluemonday v1.0.2/go.mod h1:iVP4YcDBq+n/5fb23BhYFvIMq/le
github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
github.com/milvus-io/milvus-proto/go-api/v2 v2.3.4-0.20241111025219-806678b2806e h1:vablXYYktqJjTuSDUkNNNRigkGuJVHLXr34xoiE7GR0=
github.com/milvus-io/milvus-proto/go-api/v2 v2.3.4-0.20241111025219-806678b2806e/go.mod h1:/6UT4zZl6awVeXLeE7UGDWZvXj3IWkRsh3mqsn0DiAs=
github.com/milvus-io/milvus/client/v2 v2.0.0-20241111031027-fca946dee181 h1:YHpgSTEnfm71INTQ4BnbFmx56DSvWJEv7j2XitL/Ueo=
github.com/milvus-io/milvus/client/v2 v2.0.0-20241111031027-fca946dee181/go.mod h1:Y5KeQdPOEV7fICgAW7HDnprnwBWhapr7K11yRD/THdg=
github.com/milvus-io/milvus/client/v2 v2.0.0-20241119025033-33bfb25c73b2 h1:/8ssINWvzYCj6PWSLdJD6bVEOsZPpWBZAdnkUBZTTOQ=
github.com/milvus-io/milvus/client/v2 v2.0.0-20241119025033-33bfb25c73b2/go.mod h1:UHMEkt8eAYZ857wpt1jfN4yFMgxHymyCxZ3OWMqpqJQ=
github.com/milvus-io/milvus/pkg v0.0.2-0.20241111021426-5e90f348fcbb h1:lMyIrG03agASB88AAwnk+NOU9V33lcBdtub/ZEv6IQU=
github.com/milvus-io/milvus/pkg v0.0.2-0.20241111021426-5e90f348fcbb/go.mod h1:w5nu1Z318AvgWQrGUYXaqLeVLu4JvCS/oYhxqctOZvU=
github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc=
Expand Down
6 changes: 3 additions & 3 deletions tests/go_client/testcases/helper/data_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,13 @@ func GenArrayColumnData(nb int, eleType entity.FieldType, option GenDataOption)
}
return column.NewColumnDoubleArray(fieldName, doubleValues)
case entity.FieldTypeVarChar:
varcharValues := make([][][]byte, 0, nb)
varcharValues := make([][]string, 0, nb)
for i := start; i < start+nb; i++ {
varcharArray := make([][]byte, 0, capacity)
varcharArray := make([]string, 0, capacity)
for j := 0; j < capacity; j++ {
var buf bytes.Buffer
buf.WriteString(strconv.Itoa(i + j))
varcharArray = append(varcharArray, buf.Bytes())
varcharArray = append(varcharArray, buf.String())
}
varcharValues = append(varcharValues, varcharArray)
}
Expand Down

0 comments on commit 14ce8e3

Please sign in to comment.