Skip to content

sometimes, it hangs with at endReadableNT (_stream_readable.js:905:12) #36

Description

@maboiteaspam

Hi,

Given that code,

var checkPhp = function (expect, ip, port, user, pwd, done) {
  var seq = sequest.connect(user+'@'+ip+':'+port, {username: user, password: pwd});
  seq('php --version', function (e, stdout) {
    if (e) return done(e)
    stdout.should.match(expect)
    done()
  }).on('error', function (err) {
    done(err)
  })
};

Sometimes, works fine, sometimes, it throws

1) #Php.version() yyy.yyy.yyy.oo:xxx should be php like /PHP\s5[.]3[.]3/:
     Error: Exit code is non-zero.
      at endReadableNT (_stream_readable.js:905:12)

So as example, i run 4 instances of mocha in //.
Over the 4, one will fail.

It s really weird... Have you faced that too ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions