You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Daněk (Jira)" <ji...@apache.org> on 2020/08/01 20:52:00 UTC

[jira] [Commented] (PROTON-2125) Annoying deprecation warning from Minitest in Ruby tests

    [ https://issues.apache.org/jira/browse/PROTON-2125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17169410#comment-17169410 ] 

Jiri Daněk commented on PROTON-2125:
------------------------------------

Resolved by installing an older version of minitest which does not deprecate the functions we use.

> Annoying deprecation warning from Minitest in Ruby tests
> --------------------------------------------------------
>
>                 Key: PROTON-2125
>                 URL: https://issues.apache.org/jira/browse/PROTON-2125
>             Project: Qpid Proton
>          Issue Type: Test
>    Affects Versions: proton-c-0.29.0
>            Reporter: Jiri Daněk
>            Priority: Trivial
>             Fix For: proton-c-0.32.0
>
>
> {noformat}
> 41: 0.00 s = .
> 41: A data object#test_0002_can hold a null = DEPRECATED: global use of must_equal from /home/travis/build/jdanekrh/qpid-proton/ruby/spec/data_spec.rb:38. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 41: 0.00 s = .
> 41: A data object#test_0019_raises an error on a negative uint = DEPRECATED: global use of must_raise from /home/travis/build/jdanekrh/qpid-proton/ruby/spec/data_spec.rb:136. Use _(obj).must_raise instead. This will fail in Minitest 6.
> 41: 0.00 s = .
> 41: 
> 41: Finished in 0.067732s, 1033.4849 runs/s, 4414.4571 assertions/s.
> 41: 
> 41: 70 runs, 299 assertions, 0 failures, 0 errors, 0 skips
> 41/44 Test #41: ruby-data-spec ...................   Passed    0.28 sec
> test 42
>       Start 42: ruby-exception-handling-spec
> {noformat}
> In e.g. https://travis-ci.org/apache/qpid-proton/jobs/601930436



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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