Skip to content

Commit

Permalink
GODRIVER-3140 Update help function.
Browse files Browse the repository at this point in the history
  • Loading branch information
qingyang-hu committed May 31, 2024
1 parent 18a7e7e commit 489b56b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mongo/integration/json_helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ func createClientOptions(t testing.TB, opts bson.Raw) *options.ClientOptions {
case "socketTimeoutMS":
st := convertValueToMilliseconds(t, opt)
clientOpts.SetSocketTimeout(st)
case "timeoutMS":
clientOpts.SetTimeout(time.Duration(opt.Int64()) * time.Millisecond)
case "minPoolSize":
clientOpts.SetMinPoolSize(uint64(opt.AsInt64()))
case "maxPoolSize":
Expand Down

0 comments on commit 489b56b

Please sign in to comment.