[DRE-maint] Bug#1027088: ruby-seamless-database-pool: FTBFS with ruby-rspec 3.12: ERROR: Test "ruby3.1" failed: Failure/Error: master_connection = send("#{master_config[:adapter]}_connection".to_sym, master_config)
Antonio Terceiro
terceiro at debian.org
Tue Dec 27 17:04:46 GMT 2022
Source: ruby-seamless-database-pool
Version: 1.0.20-3
Severity: important
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby-rspec-3.12
Hi,
I'm about to upload ruby-rspec 3.12. During a test rebuild with that version,
ruby-seamless-database-pool failed to build.
Relevant part of the build log (hopefully):
> Failure/Error: master_connection = send("#{master_config[:adapter]}_connection".to_sym, master_config)
>
> #<ActiveRecord::Base (class)> received :writer_connection with unexpected arguments
> expected: ({"adapter"=>"writer", "host"=>"master_host", "pool_weight"=>1, "username"=>"user"}) (keyword arguments)
> got: ({"adapter"=>"writer", "host"=>"master_host", "pool_weight"=>1, "username"=>"user"}) (options hash)
> # ./lib/active_record/connection_adapters/seamless_database_pool_adapter.rb:15:in `seamless_database_pool_connection'
> # ./spec/seamless_database_pool_adapter_spec.rb:72:in `block (2 levels) in <top (required)>'
>
> Finished in 0.76099 seconds (files took 0.48193 seconds to load)
> 64 examples, 1 failure
>
> Failed examples:
>
> rspec ./spec/seamless_database_pool_adapter_spec.rb:38 # SeamlessDatabasePoolAdapter ActiveRecord::Base extension should establish the connections in the pool merging global options into the connection options
>
> Randomized with seed 55666
>
> /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby3.1" failed:
The full build log is attached.
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-seamless-database-pool.log.gz
Type: application/gzip
Size: 16788 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20221227/07f2b57a/attachment-0001.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20221227/07f2b57a/attachment-0001.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list