Comments (4)
What version of node are you on?
Il giorno sabato 29 giugno 2013, David Halls ha scritto:
I'm consistently seeing this when I run the tests locally:
✖ 2 of 214 tests failed:
- mosca.persistence.LevelUp subscriptions should wire itself up to the
'clientDisconnecting' event of a Server:actual expected
1 | {
2 | "hello": {
3 | "qos": 1
4 | }
5 | }{}
- mosca.persistence.LevelUp two instances support restoring from disk:
Error: timeout of 2000ms exceeded
at null. (/home/david/mosca/node_modules/mocha/lib/runnable.js:167:14)
at Timer.listOnTimeout as ontimeout—
Reply to this email directly or view it on GitHubhttps://github.com//issues/40
.
from mosca.
I was thinking about it better, and both of them are caused by a bad setTimeout in the test code. I need to fix these.
However they should not be persistent, but spurious. What machine are you running these on?
from mosca.
The failures are due to the bad architecture of the Persitance#wire
method: it should not rely on events.
It should replace methods like the authorization do.
I'll fix it next week.
from mosca.
I doubt you need it now but
Node 0.10.12
Machine is Ivybridge i5 with 6Gb
from mosca.
Related Issues (20)
- Mosca, Docker, Reverse Proxy and Real IP
- Error: invalid schema, expected mongodb
- How we can Subscribe/Unsubscribe topics for particular client from mosca broker
- Why two processes...
- Feature request: remove retained messages
- client.on get stuck waiting for message HOT 2
- TIME_WAIT issue
- How to bridge to zmq?
- infinite loop via npm install
- Mqtt broker is disconnecting frequently even though it has a unique client id
- Strange ip address
- MQTT over WS with Mosca+Express HOT 3
- Redis TLS option not supported
- password in authenticate function is a buffer
- regex used on looking up retained messages HOT 1
- How to configure TLS correctly in Mosca HOT 2
- fullergalway/kafkamqtt not found
- Feature Request: Use Node 10 worker threads for real parallelization
- How to get a list of connected clients?
- [question]I cannot get more than 200 connections HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mosca.