alexyoung / ircd.js

A Node ircd (IRC daemon)
GNU General Public License v3.0
528 stars 90 forks source link

Test Fail #60

Closed ping86 closed 11 years ago

ping86 commented 11 years ago
  ✖ 3 of 22 tests failed:

  1) Channels test messaging a non-existent channel (#26):
     Error: global leak detected: messagePart
      at Runner.checkGlobals (/home/ping/Escritorio/ircd.js/node_modules/mocha/lib/runner.js:170:21)
      at Runner.<anonymous> (/home/ping/Escritorio/ircd.js/node_modules/mocha/lib/runner.js:59:44)
      at Runner.emit (events.js:88:20)
      at /home/ping/Escritorio/ircd.js/node_modules/mocha/lib/runner.js:401:14
      at done (/home/ping/Escritorio/ircd.js/node_modules/mocha/lib/runnable.js:187:5)
      at /home/ping/Escritorio/ircd.js/node_modules/mocha/lib/runnable.js:199:9
      at Client.<anonymous> (/home/ping/Escritorio/ircd.js/test/channels.test.js:49:15)
      at Client.emit (events.js:67:17)
      at Client.<anonymous> (/home/ping/Escritorio/ircd.js/node_modules/irc/lib/irc.js:520:26)
      at Client.emit (events.js:67:17)
      at /home/ping/Escritorio/ircd.js/node_modules/irc/lib/irc.js:634:22
      at Array.forEach (native)
      at Socket.<anonymous> (/home/ping/Escritorio/ircd.js/node_modules/irc/lib/irc.js:631:15)
      at Socket.emit (events.js:67:17)
      at TCP.onread (net.js:342:31)

  2) Channels test join with invalid key:
     Error: timeout of 2000ms exceeded
      at Object.<anonymous> (/home/ping/Escritorio/ircd.js/node_modules/mocha/lib/runnable.js:167:14)
      at Timer.ontimeout (timers.js:94:19)

  3) Channels "after each" hook:
     Error: timeout of 2000ms exceeded
      at Object.<anonymous> (/home/ping/Escritorio/ircd.js/node_modules/mocha/lib/runnable.js:167:14)
      at Timer.ontimeout (timers.js:94:19)
alexyoung commented 11 years ago

I'm not seeing that here

ping86 commented 11 years ago

Do these three test must fail? Or is my mistake

alexyoung commented 11 years ago

I don't understand what you're asking

ping86 commented 11 years ago

I run the test in my project, and this is the result.

The message ✖ 3 of 22 tests failed, it means that these three tests are wrong?