Skip to content

Conversation

pzrq
Copy link
Contributor

@pzrq pzrq commented Sep 4, 2017

#1227)

  • 🔨 Refactor NamespaceStore test

  • ✅ Add some basic unit tests

  • ✅ Add test to detect the 🐛

  • 🐛 onCollectionChange should fire on either of DB or Collection changed

Example: db1.coll => db2.coll, the collection component is identical, but it is a different collection because it is on a different database.

  • 🐛 Reuse mongodb-ns

It handles the '.' in collection names correctly.

  • 🎨 Use contexts for test readability

  • ✅ Add test to detect the second 🐛

  • 🐛 Initialize to the default namespace of ''

Reproduced on local with:
npm test -- --functional

https://travis-ci.com/10gen/compass/jobs/88742497

…1227)

* 🔨 Refactor NamespaceStore test

* ✅ Add some basic unit tests

* ✅ Add test to detect the 🐛

* 🐛 onCollectionChange should fire on either of DB or Collection changed

Example: db1.coll => db2.coll, the collection component is identical, but it is a different collection because it is on a different database.

* 🐛 Reuse mongodb-ns

It handles the '.' in collection names correctly.

* 🎨 Use contexts for test readability

* ✅ Add test to detect the second 🐛

* 🐛 Initialize to the default namespace of ''

Reproduced on local with:
npm test -- --functional

https://travis-ci.com/10gen/compass/jobs/88742497

#retry
  1) CollectionsStore "before all" hook:
     Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
https://travis-ci.com/10gen/compass/jobs/89088707
@pzrq pzrq force-pushed the COMPASS-1897-backport-COMPASS-1747-1.9-releases branch from b21896b to bbf7c1d Compare September 4, 2017 02:08
@pzrq pzrq merged commit f77f4be into 1.9-releases Sep 4, 2017
@pzrq pzrq deleted the COMPASS-1897-backport-COMPASS-1747-1.9-releases branch September 4, 2017 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant