Try to fix flaky inactive user test

This commit is contained in:
d1slike committed 2024-06-28 13:31:52 +03:00
1 parent cf20571a7d
commit 1653289e01
1 file changed
+1 -1
+1 -1
View File
@@ -47,7 +47,7 @@ func TestInactiveWorker(t *testing.T) {
},
})
bgjobCli := bgjobx.NewClient(db, test.Logger())
assembly.JobPollInterval = 1 * time.Second
assembly.JobPollInterval = 300 * time.Millisecond
err := bgjobCli.Upgrade(context.Background(), config.BgJobCfg)
require.NoError(err)
err = inactive_worker.EnqueueSeedJob(context.Background(), bgjobCli)