Skip to content

Ruby client has a bad error message when you try and run a query on a closed connection #642

Closed

Description

@mlucy
No description provided.

Activity

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

    @coffeemug
    Contributor

    Please don't close this without writing tests for all drivers for this.

  3. mlucy commented on Apr 16, 2013

    @mlucy
    MemberAuthor

    @coffeemug -- I have a fix for this in https://github.com/rethinkdb/rethinkdb/tree/mlucy_642_ruby_error_closed_connection , but I don't know how to add the driver connection tests. Would you mind doing it (or showing me how)? (Reassigning to you.)

  4. coffeemug commented on Apr 16, 2013

    @coffeemug
    Contributor

    There are currently no ruby connection tests, but there probably should be. We should port python's connection to tests to ruby. Ping me in person and we'll talk about it.

  5. mlucy commented on May 1, 2013

    @mlucy
    MemberAuthor

    @coffeemug -- ping

    When do you want to do this? (Alternatively, @AtnNn -- I think you wrote the ruby test-driver, is there any chance you'd be interested in adding ruby connection tests if you know how to do it?)

  6. AtnNn commented on May 1, 2013

    @AtnNn
    Member

    I have very little interest. It took me three full days to port the connection tests from python to javascript, and it wasn't very fun. However I would love to see some more green lines on travis. I'll give the ruby connection tests a try once #721 is done.

  7. coffeemug commented on May 1, 2013

    @coffeemug
    Contributor

    I remember this one. It's a bit of a low priority right now because it involves a day or two of porting python unit tests verbatim, and we should get the existing tests to be nice'n'smooth on Travis first. Could you hold off on this for another week or two? We'll get to it, I promise.

  8. mlucy commented on May 1, 2013

    @mlucy
    MemberAuthor

    Could I merge the actual fix for this into next in the meantime?

  9. coffeemug commented on May 1, 2013

    @coffeemug
    Contributor

    Oh sorry. Sure -- let's merge the fix and keep this issue open. We'll write a test when we're ready.

  10. mlucy commented on May 2, 2013

    @mlucy
    MemberAuthor

    Alright, I'll open another issue for the test and reference this one.

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