Email Tests Trying to Connect Error #88

Closed
tombell opened this Issue Oct 28, 2011 · 0 comments

Comments

Projects
None yet
2 participants
Contributor

tombell commented Oct 28, 2011

It seems the email_test tests are trying to connect to a live IMAP server when I run the tests.

› make
coffee test/google_images_test.coffee
/^helper:?\s*(image|img)( me)? (.*)/i
/^helper:?\s*animate me (.*)/i
/^helper:?\s*(?:mo?u)?sta(?:s|c)he?(?: me)? (.*)/i
coffee test/brain_test.coffee
coffee test/email_test.coffee
/^Hewbot:?\s*(calc|calculate|convert|math)( me)? (.*)/i
/^Hewbot:?\s*(?:(satellite|terrain|hybrid)[- ])?map me (.+)/i
/^Hewbot:?\s*who is ([\w .-]+)\?*$/i
/^Hewbot:?\s*([\w .-]+) is (["'\w: ]+)[.!]*$/i
/^Hewbot:?\s*([\w .-]+) is not (["'\w: ]+)[.!]*$/i
/^Hewbot:?\s*(the rules|the laws)/i
/^Hewbot:?\s*(translate)( me)?(( from) ([a-z]*))?(( (in)?to) ([a-z]*))? (.*)/i
/^Hewbot:?\s*(image|img)( me)? (.*)/i
/^Hewbot:?\s*animate me (.*)/i
/^Hewbot:?\s*(?:mo?u)?sta(?:s|c)he?(?: me)? (.*)/i
/^Hewbot:?\s*(youtube|yt)( me)? (.*)/i
/^Hewbot:?\s*PING$/i
/^Hewbot:?\s*ECHO (.*)$/i
/^Hewbot:?\s*TIME$/i
/^Hewbot:?\s*DIE$/i
/^Hewbot:?\s*show storage$/i
/^Hewbot:?\s*show users$/i
/^Hewbot:?\s*help$/i
/^Hewbot:?\s*(calc|calculate|convert|math)( me)? (.*)/i
/^Hewbot:?\s*(?:(satellite|terrain|hybrid)[- ])?map me (.+)/i
/^Hewbot:?\s*who is ([\w .-]+)\?*$/i
/^Hewbot:?\s*([\w .-]+) is (["'\w: ]+)[.!]*$/i
/^Hewbot:?\s*([\w .-]+) is not (["'\w: ]+)[.!]*$/i
/^Hewbot:?\s*(the rules|the laws)/i
/^Hewbot:?\s*(translate)( me)?(( from) ([a-z]*))?(( (in)?to) ([a-z]*))? (.*)/i
/^Hewbot:?\s*(image|img)( me)? (.*)/i
/^Hewbot:?\s*animate me (.*)/i
/^Hewbot:?\s*(?:mo?u)?sta(?:s|c)he?(?: me)? (.*)/i
/^Hewbot:?\s*(youtube|yt)( me)? (.*)/i
/^Hewbot:?\s*PING$/i
/^Hewbot:?\s*ECHO (.*)$/i
/^Hewbot:?\s*TIME$/i
/^Hewbot:?\s*DIE$/i
/^Hewbot:?\s*show storage$/i
/^Hewbot:?\s*show users$/i
/^Hewbot:?\s*help$/i

node.js:134
        throw e; // process.nextTick error, or 'error' event on first tick
        ^
Error: Unable to connect. Reason: Error: EINVAL, Invalid argument
    at Socket.<anonymous> (/home/tomb/Development/hubot/node_modules/imap/imap.js:490:15)
    at Socket.emit (events.js:64:17)
    at Array.<anonymous> (net.js:830:27)
    at EventEmitter._tickCallback (node.js:126:26)
coffee test/robot_test.coffee
make: *** [test] Error 123

atmos closed this in 1b75d65 Oct 29, 2011

@glucero glucero pushed a commit to absperf/hubot that referenced this issue Aug 20, 2012

@atmos atmos Remove test until it's meaningful. Fixes #88 d0d66df
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment