Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2184

undefined method rspec_verify for Thrift::MemoryBufferTransport

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.1
    • 0.9.2
    • Ruby - Library
    • None

    Description

      When running 'make install', I get the following errors that do not occur when just running 'make':

        1) BinaryProtocolAccelerated it should behave like a binary protocol should write a byte
           Failure/Error: @trans.rspec_verify
           NoMethodError:
             undefined method `rspec_verify' for #<Thrift::MemoryBufferTransport:0x000000034e86c8>
           Shared Example Group: "a binary protocol" called from ./spec/binary_protocol_accelerated_spec.rb:28
           # ./spec/binary_protocol_spec_shared.rb:112:in `block (2 levels) in <top (required)>'
      
        2) BinaryProtocol it should behave like a binary protocol should write a byte
           Failure/Error: @trans.rspec_verify
           NoMethodError:
             undefined method `rspec_verify' for #<Thrift::MemoryBufferTransport:0x000000034509e0>
           Shared Example Group: "a binary protocol" called from ./spec/binary_protocol_spec.rb:25
           # ./spec/binary_protocol_spec_shared.rb:112:in `block (2 levels) in <top (required)>'
      

      I commented out the call to #rspec_verify, but I do not know what the correct fix is.

      I also get numerous (related) warnings about mock being deprecated:

      DEPRECATION: mock is deprecated. Use double instead. Called from /home/pbrannan/git/thrift/lib/rb/spec/unix_socket_spec.rb:93:in `block (3 levels) in <top (required)>'.
      

      Attachments

        1. THRIFT-2184.patch
          0.3 kB
          Nevo Hed

        Activity

          People

            Unassigned Unassigned
            cout Paul Brannan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: