diff --git a/tests/inactive_test.go b/tests/inactive_test.go index 62ff583..101d521 100644 --- a/tests/inactive_test.go +++ b/tests/inactive_test.go @@ -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)