Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

[BUG] #13

Closed
hughrun opened this issue Dec 22, 2019 · 1 comment
Closed

[BUG] #13

hughrun opened this issue Dec 22, 2019 · 1 comment
Assignees
Labels
bug Something isn't working tests Related to testing

Comments

@hughrun
Copy link
Owner

hughrun commented Dec 22, 2019

Describe the bug
When running npm test on a fresh DB (i.e. no rockpool_test DB exists), the check for indexes fails.

To Reproduce
Steps to reproduce the behavior:

  1. Run npm test without a pre-existing rockpool_test database

Expected behavior
Index-checking tests pass.

Error message

  80 passing (11s)
  40 pending
  4 failing

  1) Test suite for Rockpool: a web app for communities of practice
       npm setup - to prepare DB before running Rockpool
         should build index on tags field in rp_articles:
     Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/hugh/coding/JavaScript/rockpool/test/test.js)
  

  2) Test suite for Rockpool: a web app for communities of practice
       npm setup - to prepare DB before running Rockpool
         should build text index in rp_articles:
     Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/hugh/coding/JavaScript/rockpool/test/test.js)
  

  3) Test suite for Rockpool: a web app for communities of practice
       npm setup - to prepare DB before running Rockpool
         should create rp_articles collection when they are indexed:
     Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/hugh/coding/JavaScript/rockpool/test/test.js)

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • node version [e.g. 10.16.0] - run node -v on your command line to get this

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@hughrun hughrun added bug Something isn't working tests Related to testing labels Dec 22, 2019
@hughrun hughrun self-assigned this Dec 22, 2019
@hughrun
Copy link
Owner Author

hughrun commented Dec 22, 2019

fixed with a7da10b

@hughrun hughrun closed this as completed Dec 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working tests Related to testing
Projects
None yet
Development

No branches or pull requests

1 participant