opentrace-community / opentrace-cloud-functions

OpenTrace Cloud Functions. Reference implementation of the BlueTrace protocol.
https://bluetrace.io
GNU General Public License v3.0
273 stars 121 forks source link

Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves #34

Open NerdFaisal404 opened 4 years ago

NerdFaisal404 commented 4 years ago

upload

  1) should have valid buckets
#upload
  ✓ should use a good pin generator

3 passing (3s) 1 failing

1) config.ts

upload

     should have valid buckets:
 Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/lover/Downloads/opentrace-cloud-functions/functions/test/opentrace/config.test.ts)
  at listOnTimeout (internal/timers.js:531:17)
  at processTimers (internal/timers.js:475:7)
aleman844 commented 4 years ago

I had the same problem and i've changed the service account json file for firebase-adminsdk user

qtangs commented 4 years ago

@NerdFaisal404, did you manage to solve the issue?