Skip to content

feat: use variable for postgresql locale #106

feat: use variable for postgresql locale

feat: use variable for postgresql locale #106

Re-run triggered January 9, 2025 18:12
Status Failure
Total duration 3m 24s
Artifacts

ci.yml

on: pull_request
Spec  /  Setup Test Matrix
44s
Spec / Setup Test Matrix
Matrix: Spec / spec
Acceptance  /  Setup Test Matrix
Acceptance / Setup Test Matrix
Matrix: Acceptance / acceptance
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 4 warnings
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/unit/classes/database/postgresql_spec.rb#L58
puppetdb::database::postgresql on a supported platform manage database with defaults is expected to contain Postgresql::Server::Db[puppetdb] with user => "puppetdb", password => "puppetdb", grant => "all", port => 5432, encoding => "UTF8" and locale defined Failure/Error: is_expected.to contain_postgresql__server__db(params[:database_name]) .with( user: params[:database_username], password: params[:database_password], grant: 'all', port: params[:database_port].to_i, encoding: 'UTF8', locale: params[:postgresql_locale], ) expected that the catalogue would contain Postgresql::Server::Db[puppetdb] with locale undefined but it is set to "C.UTF-8"
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7)
Process completed with exit code 1.
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/unit/classes/database/postgresql_spec.rb#L58
puppetdb::database::postgresql on a supported platform manage database with defaults is expected to contain Postgresql::Server::Db[puppetdb] with user => "puppetdb", password => "puppetdb", grant => "all", port => 5432, encoding => "UTF8" and locale defined Failure/Error: is_expected.to contain_postgresql__server__db(params[:database_name]) .with( user: params[:database_username], password: params[:database_password], grant: 'all', port: params[:database_port].to_i, encoding: 'UTF8', locale: params[:postgresql_locale], ) expected that the catalogue would contain Postgresql::Server::Db[puppetdb] with locale undefined but it is set to "C.UTF-8"
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2)
Process completed with exit code 1.
Spec / Setup Test Matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Spec / Setup Test Matrix
Cannot find image for SLES-12 SP3
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636