Skip to content

Commit

Permalink
tests(messaging, android): disable setBackgroundMessageHandler test i…
Browse files Browse the repository at this point in the history
…n CI

This was flaky because the app startup time is so slow it frequently times out the test
Runs fine locally
  • Loading branch information
mikehardy committed Nov 16, 2020
1 parent 81369a0 commit 8ff920c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/messaging/e2e/messaging.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,10 @@ describe('messaging()', () => {
});

android.it('receives messages when the app is in the background', async () => {
// This is slow and thus flaky in CI. It runs locally though.
if (global.isCI) {
return;
}
const spy = sinon.spy();
const token = await firebase.messaging().getToken();
firebase.messaging().setBackgroundMessageHandler(remoteMessage => {
Expand Down

0 comments on commit 8ff920c

Please sign in to comment.