Skip to content

Conversation

@cpm
Copy link

@cpm cpm commented Oct 4, 2020

The Sidekiq test that was making sure delay_until was working properly was queueing at a hardcoded 2020-01-01.

Sidekiq doesn't treat the job as a scheduled job if the scheduled time requested is in the past. This was causing an exception in the test.

This PR adjusts the test to always use a date in the future.

…ure. the hardcoded time specified is now in the past, so the test broke.
@Tengoot Tengoot closed this Oct 6, 2020
@Tengoot Tengoot reopened this Oct 6, 2020
@Marahin
Copy link
Contributor

Marahin commented Oct 6, 2020

Hi,

good catch :) I must say that personally I adore those kind of issues.

Looks solid from my perspective.

@Marahin Marahin requested a review from a team October 6, 2020 12:11
@Marahin Marahin requested a review from a team October 6, 2020 12:11
Copy link
Member

@pstrzalk pstrzalk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The future is now 😄

@cpm
Copy link
Author

cpm commented Oct 28, 2020

What's the process for getting merged in? Curious just because this has been sitting approved for a few weeks now. :)

@cpm
Copy link
Author

cpm commented Apr 27, 2021

Hi! This was approved 6 months ago. Should I be doing anything specific to move this forward?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants