Skip to content

The ql-js-connect test occasionally fails on travis #668

Closed

Description

@AtnNn
  |   ✖ 2 of 10 tests failed:
  | 
  |   1) Javascript connection API With a server test use:
  |      Error: timeout of 2000ms exceeded
  |       at Object.<anonymous> (/usr/local/lib/node_modules/mocha/lib/runnable.js:167:14)
  |       at Timer.list.ontimeout (timers.js:101:19)
  | 
  |   2) Javascript connection API With a server useOutdated:
  |      
  |   AssertionError: {"name":"RqlDriverError","msg":"Could not connect to localhost:11197.","message":"Could not connect to localhost:11197."} == null
  |       at assertNull (/home/travis/build/rethinkdb/rethinkdb/test/rql_test/connections/connection.js:64:12)
  |       at withConnection (/home/travis/build/rethinkdb/rethinkdb/test/rql_test/connections/connection.js:42:13)
  |       at TcpConnection.Connection._error (/home/travis/build/rethinkdb/rethinkdb/drivers/javascript/build/rethinkdb.js:12663:14)
  |       at Socket.TcpConnection.rawSocket.on._i (/home/travis/build/rethinkdb/rethinkdb/drivers/javascript/build/rethinkdb.js:12893:20)
  |       at Socket.EventEmitter.emit (events.js:96:17)
  |       at Socket._destroy.self.errorEmitted (net.js:329:14)
  |       at process.startup.processNextTick.process._tickCallback (node.js:245:9)

Activity

  1. ghost assigned on Apr 16, 2013
  2. coffeemug commented on Apr 16, 2013

    @coffeemug
    Contributor

    I think instead of disabling the test we should up the timeout to 10 seconds. I bet this would make the test pass pretty much all of the time.

  3. AtnNn commented on Apr 16, 2013

    @AtnNn
    MemberAuthor

    I had a dirty tree and preferred to simply disable the test so we would stop getting useless build failure emails.

    Adding a timeout seems to me like the right solution.

    However, in the long term, we should use the test driver in test/common/. It is easy to use (but possibly undocumented) and has lots of nice features (such as waiting for the server to be up, spawning clusters and generating netsplits). Parts of this test driver have been reimplemented at various other places in the test suite.

  4. coffeemug commented on Apr 29, 2013

    @coffeemug
    Contributor

    According to @AtnNn this is causing unexpected failures on travis that are non-trivial to fix. Moving back to 1.5.

  5. coffeemug commented on May 6, 2013

    @coffeemug
    Contributor

    Moving to 1.6, as this isn't essential to shipping 1.5.

  6. assigned and unassigned on Jul 11, 2014
  7. larkost commented on Jul 22, 2014

    @larkost
    Collaborator

    I am not generally having a problem with this test, even on the-shadow (our slowest test machine). @AtnNn any objection to me closing it?

  8. neumino commented on Jul 22, 2014

    @neumino
    Member

    @larkost -- it was maybe related to #2606

  9. modified the milestones: outdated, backlog on Jul 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions