You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The ql-js-connect test occasionally fails on travis #668
| ✖ 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)
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.
Activity
Disable the ql-js-connect test (Issue #668)
Disable the ql-js-connect test (Issue #668)
coffeemug commentedon Apr 16, 2013
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.
AtnNn commentedon Apr 16, 2013
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.
coffeemug commentedon Apr 29, 2013
According to @AtnNn this is causing unexpected failures on travis that are non-trivial to fix. Moving back to 1.5.
AtnNn commentedon Apr 29, 2013
The failures: https://travis-ci.org/rethinkdb/rethinkdb/builds/6736566
coffeemug commentedon May 6, 2013
Moving to 1.6, as this isn't essential to shipping 1.5.
Catch more errors and better output in rql tests (#668, #724)
Catch more errors and better output in rql tests (#668, #724)
larkost commentedon Jul 22, 2014
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?
neumino commentedon Jul 22, 2014
@larkost -- it was maybe related to #2606