From 1463f0087b242cef9316dc64cb95da0520283aa9 Mon Sep 17 00:00:00 2001 From: Hunter Long Date: Fri, 14 Dec 2018 02:13:35 -0800 Subject: [PATCH] push notification update --- notifiers/mobile_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notifiers/mobile_test.go b/notifiers/mobile_test.go index 88464c7c..06c06825 100644 --- a/notifiers/mobile_test.go +++ b/notifiers/mobile_test.go @@ -101,7 +101,7 @@ func TestMobileNotifier(t *testing.T) { mobile.OnSuccess(TestService) assert.Equal(t, 1, len(mobile.Queue)) go notifier.Queue(mobile) - time.Sleep(5 * time.Second) + time.Sleep(20 * time.Second) assert.Equal(t, 0, len(mobile.Queue)) }) @@ -118,7 +118,7 @@ func TestMobileNotifier(t *testing.T) { t.Run("mobile Queue", func(t *testing.T) { go notifier.Queue(mobile) - time.Sleep(5 * time.Second) + time.Sleep(15 * time.Second) assert.Equal(t, MOBILE_ID, mobile.Var1) assert.Equal(t, 0, len(mobile.Queue)) })