You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Darryl L. Pierce (JIRA)" <ji...@apache.org> on 2014/12/08 19:51:13 UTC

[jira] [Created] (PROTON-768) DECIMAL32 values are not consistent in Ruby

Darryl L. Pierce created PROTON-768:
---------------------------------------

             Summary: DECIMAL32 values are not consistent in Ruby
                 Key: PROTON-768
                 URL: https://issues.apache.org/jira/browse/PROTON-768
             Project: Qpid Proton
          Issue Type: Bug
          Components: ruby-binding
            Reporter: Darryl L. Pierce
            Assignee: Darryl L. Pierce


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 ==)
   # ./spec/qpid/proton/data_spec.rb:304




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)