Skip to content

test: prevent periodic failure of test_send_reminder_all_open_reviews()#3584

Merged
rjsparks merged 1 commit into
ietf-tools:mainfrom
painless-security:jennifer/tix3359
Mar 7, 2022
Merged

test: prevent periodic failure of test_send_reminder_all_open_reviews()#3584
rjsparks merged 1 commit into
ietf-tools:mainfrom
painless-security:jennifer/tix3359

Conversation

@jennifer-richards

Copy link
Copy Markdown
Member

The ietf.review.tests.ReviewAssignmentTest.test_send_reminder_all_open_reviews test verifies that reminders are sent with the periodicity configured for each review team. It sets up two review teams, intending that only one will be sent a notification. The team not to receive a notification was set to receive one every 13 days, however, which leads to the test failing every 13 days.

To fix, this patch determines how many days have elapsed since the ORIGIN_DATE_PERIODIC_REMINDERS and configures the no-notification review team to receive notifications less often than this.

@rjsparks rjsparks merged commit 69caace into ietf-tools:main Mar 7, 2022
@jennifer-richards jennifer-richards deleted the jennifer/tix3359 branch March 8, 2022 20:44
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants