TestConnCopyFromBinary: increase context timeout
This commit is contained in:
committed by
Jack Christensen
parent
b4314ddaf7
commit
229d2aaa49
@@ -1827,7 +1827,7 @@ func TestConnCopyFrom(t *testing.T) {
|
|||||||
func TestConnCopyFromBinary(t *testing.T) {
|
func TestConnCopyFromBinary(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
||||||
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
|
ctx, cancel := context.WithTimeout(context.Background(), 20*time.Second)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
||||||
pgConn, err := pgconn.Connect(ctx, os.Getenv("PGX_TEST_DATABASE"))
|
pgConn, err := pgconn.Connect(ctx, os.Getenv("PGX_TEST_DATABASE"))
|
||||||
|
|||||||
Reference in New Issue
Block a user