You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Properly delete stale workers with no job
* Only stop the proper worker
* Allow for jobs with no payloads
* Fix race condition in test
* Properly shutdown node in test
node.logger.Error(fmt.Errorf("processInactiveWorkers: failed to requeue all inactive jobs: %d/%d, will retry later", len(requeued), mustRequeue), "worker", id)
791
+
allRequeued:=len(requeued) ==len(keys)
792
+
if!allRequeued {
793
+
node.logger.Error(fmt.Errorf("processInactiveWorkers: failed to requeue all inactive jobs: %d/%d, will retry later", len(requeued), len(keys)), "worker", id)
assert.WithinDuration(t, startTime.Add(tickDuration), nextTickTime, time.Second, "Next tick time should be approximately one tick duration from start")
36
38
assert.Equal(t, tickDuration, tickerDuration, "Ticker duration should match the specified duration")
0 commit comments