added 'table is locked' error msg retry check

This commit is contained in:
Gani Georgiev
2024-11-15 07:45:27 +02:00
parent 4adc4b28d2
commit e53c30ca4d
2 changed files with 11 additions and 8 deletions

View File

@@ -33,6 +33,7 @@ func TestBaseLockRetry(t *testing.T) {
{nil, 3, 1},
{errors.New("test"), 3, 1},
{errors.New("database is locked"), 3, 3},
{errors.New("table is locked"), 3, 3},
}
for i, s := range scenarios {