Skip to content

Commit

Permalink
Tests, ISSUE-952
Browse files Browse the repository at this point in the history
  • Loading branch information
abador committed May 13, 2022
1 parent 99405e9 commit 6558e19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/config/config_test.go
Expand Up @@ -1158,7 +1158,7 @@ func TestCleanup(t *testing.T) {
configx.WithConfigFiles("stub/.kratos.yaml"))

t.Run("group=cleanup config", func(t *testing.T) {
assert.Equal(t, p.DatabaseCleanupSleepTables(), 5*time.Second)
assert.Equal(t, p.DatabaseCleanupSleepTables(), 1*time.Minute)
p.MustSet(config.ViperKeyDatabaseCleanupSleepTables, time.Second)
assert.Equal(t, p.DatabaseCleanupSleepTables(), time.Second)
assert.Equal(t, p.DatabaseCleanupBatchSize(), 100)
Expand Down

0 comments on commit 6558e19

Please sign in to comment.