More func tests.

This commit is contained in:
go-jet 2019-07-20 14:23:42 +02:00
parent 35d607a62c
commit f0cb772b7a
7 changed files with 19 additions and 8 deletions

View file

@ -62,7 +62,7 @@ func TestLockExecContext(t *testing.T) {
ctx, cancel := context.WithTimeout(context.Background(), 1*time.Microsecond)
defer cancel()
time.Sleep(10 * time.Microsecond)
time.Sleep(10 * time.Millisecond)
tx, _ := db.Begin()
defer tx.Rollback()