[ https://issues.apache.org/jira/browse/THRIFT-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jake Farrell closed THRIFT-1707. -------------------------------- Resolution: Fixed Assignee: Nathan Beyer Was testing on OS X Snow Leopard with default ruby version ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]. Full error was: 1) Server Thrift::ThreadPoolServer should serve inside a thread Failure/Error: Unable to find matching line from backtrace NameError: undefined method `__rspec_original_dup' for class `Thrift::ThreadPoolServer' I traced it back to rspec 2.11.0 issue https://github.com/rspec/rspec-mocks/issues/168 Converting to 'rspec', '~> 2.10.0' fixes this and then your patch runs perfectly. Committed with gemspec change back to rspec 2.10.0 > [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 > Assignee: 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