Skip to content

Update Hyrax to fix underlying based near #1962

Update Hyrax to fix underlying based near

Update Hyrax to fix underlying based near #1962

GitHub Actions / Test Results failed Oct 16, 2024 in 0s

1 fail, 50 skipped, 1 987 pass in 17m 49s

    3 files      3 suites   17m 49s ⏱️
2 038 tests 1 987 ✅ 50 💤 1 ❌
2 065 runs  2 012 ✅ 52 💤 1 ❌

Results for commit fd671cd.

Annotations

Check warning on line 0 in ./spec/jobs/remove_solr_collection_job_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

RemoveSolrCollectionJob destroys the solr collection (spec.jobs.remove_solr_collection_job_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
One of the following schema(s) is invalid: "4f7295a4-dbf7-46e4-9ced-465aca52acc8" "4f7295a4-dbf7-46e4-9ced-465aca52acc8", "shared_extensions"
Failure/Error:
  Apartment::Tenant.switch(current_tenant) do
    yield
  end

Apartment::TenantNotFound:
  One of the following schema(s) is invalid: "4f7295a4-dbf7-46e4-9ced-465aca52acc8" "4f7295a4-dbf7-46e4-9ced-465aca52acc8", "shared_extensions"
/usr/local/bundle/bundler/gems/apartment-9ad4b0ef2ee6/lib/apartment/adapters/postgresql_adapter.rb:79:in `rescue in connect_to_new'
/usr/local/bundle/bundler/gems/apartment-9ad4b0ef2ee6/lib/apartment/adapters/postgresql_adapter.rb:64:in `connect_to_new'
/usr/local/bundle/bundler/gems/apartment-9ad4b0ef2ee6/lib/apartment/adapters/abstract_adapter.rb:71:in `block in switch!'
/usr/local/bundle/bundler/gems/apartment-9ad4b0ef2ee6/lib/apartment/adapters/abstract_adapter.rb:68:in `switch!'
/usr/local/bundle/bundler/gems/apartment-9ad4b0ef2ee6/lib/apartment/adapters/abstract_adapter.rb:84:in `switch'
./lib/active_job_tenant.rb:83:in `switch'
./lib/active_job_tenant.rb:64:in `perform_now'
./spec/jobs/remove_solr_collection_job_spec.rb:17:in `block (2 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
ActiveRecord::StatementInvalid:
  Could not find schema 4f7295a4-dbf7-46e4-9ced-465aca52acc8
  /usr/local/bundle/bundler/gems/apartment-9ad4b0ef2ee6/lib/apartment/adapters/postgresql_adapter.rb:66:in `connect_to_new'