Skip to content

Commit 4a259a3

Browse files
committed
tests: increase initial connect timeout
It should help to fix flaky tests on CI.
1 parent 334beab commit 4a259a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test_helpers/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,5 +569,5 @@ func ConvertUint64(v interface{}) (result uint64, err error) {
569569
}
570570

571571
func GetConnectContext() (context.Context, context.CancelFunc) {
572-
return context.WithTimeout(context.Background(), 500*time.Millisecond)
572+
return context.WithTimeout(context.Background(), time.Second)
573573
}

test_helpers/pool_helper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,5 +304,5 @@ func StopTarantoolInstances(instances []*TarantoolInstance) {
304304
}
305305

306306
func GetPoolConnectContext() (context.Context, context.CancelFunc) {
307-
return context.WithTimeout(context.Background(), 500*time.Millisecond)
307+
return context.WithTimeout(context.Background(), time.Second)
308308
}

0 commit comments

Comments
 (0)