Can't run tests
See original GitHub issue- latest
flow-router-extra
package version (3.6.0
) - latest
meteor
(1.8.0.1
)
When trying to launch tests with:
meteor test-packages ./
End up looking at this exception:
$ meteor test-packages ./
[[[[[ Tests ]]]]]
=> Started proxy.
=> Started MongoDB.
W20181209-03:32:31.507(2)? (STDERR) /Users/user/.meteor/packages/promise/.0.11.2.17jdcpl.glsd++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/meteor-promise/promise_server.js:218
W20181209-03:32:31.547(2)? (STDERR) throw error;
W20181209-03:32:31.548(2)? (STDERR) ^
W20181209-03:32:31.548(2)? (STDERR)
W20181209-03:32:31.548(2)? (STDERR) Error: key $clusterTime must not start with '$'
W20181209-03:32:31.548(2)? (STDERR) at Query.toBin (/Users/user/.meteor/packages/npm-mongo/.3.1.1.1pjom2b.ao8o++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb-core/lib/connection/commands.js:146:25)
W20181209-03:32:31.549(2)? (STDERR) at serializeCommands (/Users/user/.meteor/packages/npm-mongo/.3.1.1.1pjom2b.ao8o++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb-core/lib/connection/pool.js:1045:43)
W20181209-03:32:31.549(2)? (STDERR) at Pool.write (/Users/user/.meteor/packages/npm-mongo/.3.1.1.1pjom2b.ao8o++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb-core/lib/connection/pool.js:1261:3)
W20181209-03:32:31.549(2)? (STDERR) at executeWrite (/Users/user/.meteor/packages/npm-mongo/.3.1.1.1pjom2b.ao8o++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb-core/lib/wireprotocol/3_2_support.js:147:10)
W20181209-03:32:31.549(2)? (STDERR) at WireProtocol.insert (/Users/user/.meteor/packages/npm-mongo/.3.1.1.1pjom2b.ao8o++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb-core/lib/wireprotocol/3_2_support.js:158:3)
W20181209-03:32:31.549(2)? (STDERR) at Server.insert (/Users/user/.meteor/packages/npm-mongo/.3.1.1.1pjom2b.ao8o++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb-core/lib/topologies/server.js:815:35)
W20181209-03:32:31.550(2)? (STDERR) at Server.insert (/Users/user/.meteor/packages/npm-mongo/.3.1.1.1pjom2b.ao8o++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb/lib/topologies/topology_base.js:321:25)
W20181209-03:32:31.550(2)? (STDERR) at OrderedBulkOperation.finalOptionsHandler (/Users/user/.meteor/packages/npm-mongo/.3.1.1.1pjom2b.ao8o++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb/lib/bulk/common.js:1003:25)
W20181209-03:32:31.550(2)? (STDERR) at executeCommands (/Users/user/.meteor/packages/npm-mongo/.3.1.1.1pjom2b.ao8o++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb/lib/bulk/ordered.js:165:17)
W20181209-03:32:31.550(2)? (STDERR) at executeOperation (/Users/user/.meteor/packages/npm-mongo/.3.1.1.1pjom2b.ao8o++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb/lib/utils.js:420:24)
W20181209-03:32:31.550(2)? (STDERR) at OrderedBulkOperation.execute (/Users/user/.meteor/packages/npm-mongo/.3.1.1.1pjom2b.ao8o++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb/lib/bulk/ordered.js:121:12)
W20181209-03:32:31.551(2)? (STDERR) at bulkWrite (/Users/user/.meteor/packages/npm-mongo/.3.1.1.1pjom2b.ao8o++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb/lib/operations/collection_ops.js:115:8)
W20181209-03:32:31.551(2)? (STDERR) at executeOperation (/Users/user/.meteor/packages/npm-mongo/.3.1.1.1pjom2b.ao8o++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb/lib/utils.js:420:24)
W20181209-03:32:31.551(2)? (STDERR) at Collection.insertMany (/Users/user/.meteor/packages/npm-mongo/.3.1.1.1pjom2b.ao8o++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb/lib/collection.js:528:10)
W20181209-03:32:31.551(2)? (STDERR) at Collection.insert (/Users/user/.meteor/packages/npm-mongo/.3.1.1.1pjom2b.ao8o++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/mongodb/lib/collection.js:675:15)
W20181209-03:32:31.551(2)? (STDERR) at MongoConnection._insert (packages/mongo/mongo_driver.js:373:16)
mb related: https://github.com/VeliovGroup/Meteor-Files-Demos/issues/13
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Tests not running in Test Explorer - visual studio
In my case it's the exact opposite: Any unit test project, that has the MSTest nuget packages will not run, where as the...
Read more >Can't run or debug unit tests - Visual Studio Feedback
I'm using Visual Studio Community Edition 15.8.1 and I can't run or debug any unit tests. Every time I'm trying to run the...
Read more >Cannot run Unit Tests | Apple Developer Forums
1. Open project in Xcode which has unit tests · 2. Open the Test navigator · 3. Click a run button to run...
Read more >Cant Run Tests on Rider 2021.1.X · Issue #76 - GitHub
Rider currently cannot run SpecFlow+Runner tests.
Read more >Run unit tests with Test Explorer - Visual Studio (Windows)
To run your unit tests after each local build, open the settings icon in the Test Explorer toolbar and select Run Tests After...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@coagmano looks like local mongodb error. Running tests on dedicated mongodb instance solve this issue.
MongoDB start script:
./conf.conf:
My case test script:
Spoke too soon.
Tests are failing unless I remove this line and this line excluding all
fast-render
tests.@coagmano any ideas?