You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Nathan Beyer (JIRA)" <ji...@apache.org> on 2012/10/02 19:59:07 UTC

[jira] [Updated] (THRIFT-1707) [ruby] Adjust server_spec.rb for RSpec 2.11.x and Ruby 1.9.3

     [ https://issues.apache.org/jira/browse/THRIFT-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Beyer updated THRIFT-1707:
---------------------------------

    Attachment: THRIFT-1707-rewrite-server-spec.patch

[^THRIFT-1707-rewrite-server-spec.patch]

Refactor ThreadPoolServer specs to allow message expectations to work across Threads on Ruby 1.9.3. Some additionally refactoring to use the latest RSpec conventions and a bit more tweaking.
                
> [ruby] Adjust server_spec.rb for RSpec 2.11.x and Ruby 1.9.3
> ------------------------------------------------------------
>
>                 Key: THRIFT-1707
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1707
>             Project: Thrift
>          Issue Type: Bug
>          Components: Ruby - Library
>            Reporter: Nathan Beyer
>             Fix For: 0.9
>
>         Attachments: THRIFT-1707-rewrite-server-spec.patch
>
>
> The message expectations in RSpec 2.11.x don't seem to work consistently on Ruby 1.9.x when Threads are used. This is causing a problem in a few tests in server_spec.rb.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira