PagesDomain.need_auto_ssl_renewal and PagesDomainSslRenewalCronWorker#perform failures
rspec ./spec/workers/pages_domain_ssl_renewal_cron_worker_spec.rb:29 # PagesDomainSslRenewalCronWorker#perform enqueues a PagesDomainSslRenewalWorker for domains needing renewal
1) PagesDomainSslRenewalCronWorker#perform enqueues a PagesDomainSslRenewalWorker for domains needing renewal
Failure/Error: PagesDomainSslRenewalWorker.perform_async(domain.id)
(PagesDomainSslRenewalWorker (class)).perform_async(121)
expected: 0 times with arguments: (121)
received: 1 time with arguments: (121)
# ./vendor/ruby/2.6.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:97:in `block in <module:Support>'
# ./vendor/ruby/2.6.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:106:in `notify_failure'
rspec ./spec/models/pages_domain_spec.rb:605 # PagesDomain.need_auto_ssl_renewal contains only domains needing verification
1) PagesDomain.need_auto_ssl_renewal contains only domains needing verification
Failure/Error:
is_expected.to(
contain_exactly(
domain_with_user_provided_certificate_and_auto_ssl,
domain_with_expired_gitlab_provided_certificate
)
)
expected collection contained: [#<PagesDomain id: 52, project_id: nil, certificate: [FILTERED], encrypted_key: [FILTERED], encrypted...ERED], certificate_source: [FILTERED], wildcard: false, usage: "pages", scope: "project", key: nil>]
actual collection contained: [#<PagesDomain id: 52, project_id: nil, certificate: [FILTERED], encrypted_key: [FILTERED], encrypted...ERED], certificate_source: [FILTERED], wildcard: false, usage: "pages", scope: "project", key: nil>]
the extra elements were: [#<PagesDomain id: 53, project_id: nil, certificate: [FILTERED], encrypted_key: [FILTERED], encrypted...ERED], certificate_source: [FILTERED], wildcard: false, usage: "pages", scope: "project", key: nil>]
# ./vendor/ruby/2.6.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:97:in `block in <module:Support>'
# ./vendor/ruby/2.6.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:106:in `notify_failure'
# ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.0/lib/rspec/expectations/fail_with.rb:35:in `fail_w
Job #470990665 failed for d3469f2a: