8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c7efe5 commit 0985a84Copy full SHA for 0985a84
coderd/database/dbtestutil/postgres.go
@@ -82,7 +82,7 @@ func initDefaultConnection(t TBSubset) error {
82
83
var dbErr error
84
// Retry up to 3 seconds for temporary errors.
85
- ctx, cancel := context.WithTimeout(context.Background(), 3*time.Second)
+ ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
86
defer cancel()
87
for r := retry.New(10*time.Millisecond, 500*time.Millisecond); r.Wait(ctx); {
88
dbErr = attemptConn()
0 commit comments