Skip to content

Commit

Permalink
fix UT
Browse files Browse the repository at this point in the history
Signed-off-by: lance6716 <[email protected]>
  • Loading branch information
lance6716 committed Sep 10, 2024
1 parent e3476d9 commit f6e046b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/driver_options_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func TestDriverOptions_ReadTimeout(t *testing.T) {
srv := CreateMockServer(t)
defer srv.Stop()

conn, err := sql.Open("mysql", "[email protected]:3307/test?readTimeout=1s")
conn, err := sql.Open("mysql", "[email protected]:3307/test?readTimeout=100ms")
defer func() {
_ = conn.Close()
}()
Expand Down

0 comments on commit f6e046b

Please sign in to comment.