Skip to content

Commit

Permalink
Merge pull request #17 from mozilla-services/fix/monthly-fail
Browse files Browse the repository at this point in the history
fix: resolve intermittent monthly integration test fails
  • Loading branch information
pjenvey authored Jun 25, 2018
2 parents cfddbd7 + 3ee6614 commit 81544f1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -1080,8 +1080,7 @@ def test_webpush_monthly_rotation(self):
# Send in a notification, verify it landed in last months notification
# table
data = uuid.uuid4().hex
with self.legacy_endpoint():
yield client.send_notification(data=data)
yield client.send_notification(data=data)
ts, notifs = yield deferToThread(lm_message.fetch_timestamp_messages,
uuid.UUID(client.uaid),
" ")
Expand Down Expand Up @@ -1178,8 +1177,7 @@ def test_webpush_monthly_rotation_prior_record_exists(self):
# Send in a notification, verify it landed in last months notification
# table
data = uuid.uuid4().hex
with self.legacy_endpoint():
yield client.send_notification(data=data)
yield client.send_notification(data=data)
_, notifs = yield deferToThread(lm_message.fetch_timestamp_messages,
uuid.UUID(client.uaid),
" ")
Expand Down

0 comments on commit 81544f1

Please sign in to comment.