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

Andrew Stitcher updated PROTON-2820:
------------------------------------
    Description: 
Thid issue has newly appeared when building using Fedora 40, for example:
 
{noformat}
32:   1) Error:
32: RawDriverTest#test_idle:
32: TypeError: Expected argument 1 of type pn_handle_t, but got Integer 
-3824857462615749666
32:     in SWIG method 'pn_record_get'
32:     /home/andrew/Work/proton/src/ruby/lib/util/wrapper.rb:94:in 
`pn_record_get'
32:     /home/andrew/Work/proton/src/ruby/lib/util/wrapper.rb:94:in 
`fetch_instance'
32:     /home/andrew/Work/proton/src/ruby/lib/core/transport.rb:167:in `wrap'
32:     /home/andrew/Work/proton/src/ruby/lib/core/connection_driver.rb:50:in 
`transport'
32:     /home/andrew/Work/proton/src/ruby/tests/test_tools.rb:118:in 
`initialize'
32:     /home/andrew/Work/proton/src/ruby/tests/test_connection_driver.rb:68:in 
`new'
32:     /home/andrew/Work/proton/src/ruby/tests/test_connection_driver.rb:68:in 
`test_idle'
{noformat}

  was:
For example
 
{noformat}
32:   1) Error:
32: RawDriverTest#test_idle:
32: TypeError: Expected argument 1 of type pn_handle_t, but got Integer 
-3824857462615749666
32:     in SWIG method 'pn_record_get'
32:     /home/andrew/Work/proton/src/ruby/lib/util/wrapper.rb:94:in 
`pn_record_get'
32:     /home/andrew/Work/proton/src/ruby/lib/util/wrapper.rb:94:in 
`fetch_instance'
32:     /home/andrew/Work/proton/src/ruby/lib/core/transport.rb:167:in `wrap'
32:     /home/andrew/Work/proton/src/ruby/lib/core/connection_driver.rb:50:in 
`transport'
32:     /home/andrew/Work/proton/src/ruby/tests/test_tools.rb:118:in 
`initialize'
32:     /home/andrew/Work/proton/src/ruby/tests/test_connection_driver.rb:68:in 
`new'
32:     /home/andrew/Work/proton/src/ruby/tests/test_connection_driver.rb:68:in 
`test_idle'
{noformat}


> [Ruby] Test failure when using swig 4.2
> ---------------------------------------
>
>                 Key: PROTON-2820
>                 URL: https://issues.apache.org/jira/browse/PROTON-2820
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: ruby-binding
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>            Priority: Major
>
> Thid issue has newly appeared when building using Fedora 40, for example:
>  
> {noformat}
> 32:   1) Error:
> 32: RawDriverTest#test_idle:
> 32: TypeError: Expected argument 1 of type pn_handle_t, but got Integer 
> -3824857462615749666
> 32:     in SWIG method 'pn_record_get'
> 32:     /home/andrew/Work/proton/src/ruby/lib/util/wrapper.rb:94:in 
> `pn_record_get'
> 32:     /home/andrew/Work/proton/src/ruby/lib/util/wrapper.rb:94:in 
> `fetch_instance'
> 32:     /home/andrew/Work/proton/src/ruby/lib/core/transport.rb:167:in `wrap'
> 32:     /home/andrew/Work/proton/src/ruby/lib/core/connection_driver.rb:50:in 
> `transport'
> 32:     /home/andrew/Work/proton/src/ruby/tests/test_tools.rb:118:in 
> `initialize'
> 32:     
> /home/andrew/Work/proton/src/ruby/tests/test_connection_driver.rb:68:in `new'
> 32:     
> /home/andrew/Work/proton/src/ruby/tests/test_connection_driver.rb:68:in 
> `test_idle'
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to