Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-768

DECIMAL32 values are not consistent in Ruby

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • proton-c-future
    • ruby-binding
    • None

    Description

      On 32-bit EL6 running Ruby 1.8.7, DECIMAL32 values change. For example, the following happened during running the rspec tests:

      2) A data object can hold a decimal32
      Failure/Error: expect(@data.decimal32).to eq(value)

      expected: 1161181977
      got: 1536795250

      (compared using ==)

      1. ./spec/qpid/proton/data_spec.rb:304

      Attachments

        Activity

          People

            Unassigned Unassigned
            mcpierce Darryl Pierce
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: