[
https://issues.apache.org/jira/browse/PROTON-1875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16526710#comment-16526710
]
ASF subversion and git services commented on PROTON-1875:
---------------------------------------------------------
Commit 88bf39454376e1b08fd0cde189b661453e9a705f in qpid-proton's branch
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=88bf394 ]
PROTON-1875: [Ruby] Error running ruby-test-container on Raspbian Jesse
Bug in this line:
Thread.report_on_exception = false rescue nil
The "rescue nil" clause applies to the expression "false" *not* to the call to
Thread.report_on_exception. Replace with:
(Thread.report_on_exception = false) rescue nil
> [Ruby] Error running ruby-test-container on Raspbian Jesse
> ----------------------------------------------------------
>
> Key: PROTON-1875
> URL: https://issues.apache.org/jira/browse/PROTON-1875
> Project: Qpid Proton
> Issue Type: Bug
> Components: ruby-binding
> Affects Versions: proton-c-0.24.0
> Environment: ruby 2.3.3p222 (2016-11-21) [arm-linux-gnueabihf]
> Reporter: Andrew Stitcher
> Assignee: Alan Conway
> Priority: Major
>
> Get this error when running the tests:
> {noformat}
> test 36
> Start 36: ruby-test-container
> 36: Test command: /usr/bin/python
> "/home/andrew/Source/qpid-proton/src/scripts/env.py" "--"
> "PATH=/home/andrew/Source/qpid-proton/bld/ruby:/home/andrew/Source/qpid-proton/bld/c:/home/andrew/.cargo/bin:/home/andrew/.cargo/bin:/home/andrew/.local/bin:/home/andrew/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games"
>
> "RUBYLIB=/home/andrew/Source/qpid-proton/src/ruby/lib:/home/andrew/Source/qpid-proton/src/ruby/tests:/home/andrew/Source/qpid-proton/src/ruby/spec:/home/andrew/Source/qpid-proton/bld/ruby:/home/andrew/Source/qpid-proton/bld/c:"
> "SASLPASSWD=/usr/sbin/saslpasswd2" "/usr/bin/ruby"
> "/home/andrew/Source/qpid-proton/src/ruby/tests/test_container.rb" "-v"
> 36: Test timeout computed to be: 1500
> 36: /home/andrew/Source/qpid-proton/src/ruby/tests/test_container.rb:25:in
> `<main>': undefined method `report_on_exception=' for Thread:Class
> (NoMethodError)
> 1/2 Test #36: ruby-test-container ..............***Failed 0.96 sec
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]