Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904159 - dev-ruby/async-io-1.34.3-r1: fails tests
Summary: dev-ruby/async-io-1.34.3-r1: fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-04-11 09:44 UTC by jinqiang zhang
Modified: 2023-04-12 06:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
info.txt (info.txt,6.89 KB, text/plain)
2023-04-11 09:46 UTC, jinqiang zhang
Details
build.log (build.log,12.60 KB, text/plain)
2023-04-11 09:46 UTC, jinqiang zhang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jinqiang zhang 2023-04-11 09:44:55 UTC
[ebuild   R    ] dev-ruby/async-io-1.34.3-r1:1::gentoo  USE="test -doc" RUBY_TARGETS="ruby31 (-ruby27) -ruby30 -ruby32" 0 KiB
Comment 1 jinqiang zhang 2023-04-11 09:45:20 UTC
Failures:

  1) Async::IO::Notification should wait for notification
     Got 2 failures:

     1.1) Failure/Error: expect(waiting_task.status).to be :complete

            expected #<Symbol:991388> => :complete
                 got #<Symbol:1746588> => :completed

            Compared using equal?, which compares object identity,
            but expected and actual are not the same object. Use
            `expect(actual).to eq(expected)` if you don't care about
            object identity in this example.


            Diff:
            @@ -1 +1 @@
            -:complete
            +:completed
          # ./spec/async/io/notification_spec.rb:42:in `block (2 levels) in <top (required)>'

     1.2) Failure/Error: expect(waiting_task.status).to be :complete

            expected #<Symbol:991388> => :complete
                 got #<Symbol:1746588> => :completed

            Compared using equal?, which compares object identity,
            but expected and actual are not the same object. Use
            `expect(actual).to eq(expected)` if you don't care about
            object identity in this example.


            Diff:
            @@ -1 +1 @@
            -:complete
            +:completed
          # ./spec/async/io/notification_spec.rb:42:in `block (2 levels) in <top (required)>'

Finished in 7.77 seconds (files took 0.26054 seconds to load)
123 examples, 1 failure

Failed examples:

rspec ./spec/async/io/notification_spec.rb:28 # Async::IO::Notification should wait for notification
Comment 2 jinqiang zhang 2023-04-11 09:46:31 UTC
Created attachment 859849 [details]
info.txt

emerge --info
Comment 3 jinqiang zhang 2023-04-11 09:46:32 UTC
Created attachment 859850 [details]
build.log
Comment 4 Larry the Git Cow gentoo-dev 2023-04-12 06:07:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e187139bebf47977bc329f0ad0d84041bc0cf37

commit 4e187139bebf47977bc329f0ad0d84041bc0cf37
Author:     jinqiang zhang <peeweep@0x0.ee>
AuthorDate: 2023-04-11 09:54:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-12 06:06:21 +0000

    dev-ruby/async-io: fix 1.34.3 tests
    
    Closes: https://bugs.gentoo.org/904159
    Signed-off-by: jinqiang zhang <peeweep@0x0.ee>
    Closes: https://github.com/gentoo/gentoo/pull/30552
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-ruby/async-io/async-io-1.34.3-r1.ebuild         |  4 ++++
 dev-ruby/async-io/files/async-io-1.34.3-tests.patch | 19 +++++++++++++++++++
 2 files changed, 23 insertions(+)