From 3ee6614ccfa4423eebedd61f156b25d40fa0c37d Mon Sep 17 00:00:00 2001 From: Ben Bangert Date: Mon, 25 Jun 2018 11:27:59 -0700 Subject: [PATCH] fix: resolve intermittent monthly integration test fails See: Issue mozilla-services/autopush#878 --- tests/test_integration.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/test_integration.py b/tests/test_integration.py index 6e3acde40..c21a82665 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -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), " ") @@ -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), " ")