Git Product home page Git Product logo

Comments (4)

mcollina avatar mcollina commented on July 30, 2024

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:

  1. 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 | }{}

  1. 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.

mcollina avatar mcollina commented on July 30, 2024

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.

mcollina avatar mcollina commented on July 30, 2024

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.

davedoesdev avatar davedoesdev commented on July 30, 2024

I doubt you need it now but

Node 0.10.12
Machine is Ivybridge i5 with 6Gb

from mosca.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.