Skip to content

Commit 5a7499b

Browse files
committed
Fixed opensearch init test
1 parent 6191a64 commit 5a7499b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db/es/maintenance_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ func (suite *TestingSuite) TestElasticSearchSchemaInit() {
1010
dbo, err := db.Open(db.Config{
1111
ConnString: suite.ConnString,
1212
MaxOpenConns: 16,
13-
MaxConnLifetime: 100 * time.Millisecond,
13+
MaxConnLifetime: 1000 * time.Millisecond,
1414
})
1515

1616
if err != nil {

0 commit comments

Comments
 (0)