Try to fix flaky inactive user test
This commit is contained in:
1 parent
cf20571a7d
commit
1653289e01
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user