Skip to content

🧹 [i1020] - ga4 follow up #1836

🧹 [i1020] - ga4 follow up

🧹 [i1020] - ga4 follow up #1836

GitHub Actions / Test Results failed Sep 4, 2024 in 0s

2 fail, 50 skipped, 1 982 pass in 18m 9s

    3 files  +    3      3 suites  +3   18m 9s ⏱️ + 18m 9s
2 034 tests +2 034  1 982 ✅ +1 982  50 💤 +50  2 ❌ +2 
2 061 runs  +2 061  2 007 ✅ +2 007  52 💤 +52  2 ❌ +2 

Results for commit 98a3d55. ± Comparison against earlier commit e64452d.

Annotations

Check warning on line 0 in ./spec/models/account_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Account#global_tenant? default tenant in a multitenant production environment is expected to equal true (spec.models.account_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
 expected true      got false
Failure/Error: it { is_expected.to be true }

  expected true
       got false
./spec/models/account_spec.rb:407:in `block (4 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'

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

See this annotation in the file changed.

@github-actions github-actions / Test Results

DestroySplitPagesJob#perform deletes the work (spec.jobs.destroy_split_pages_job_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
One of the following schema(s) is invalid: "4e264574-6911-45cd-9be3-9de2aa986f01" "4e264574-6911-45cd-9be3-9de2aa986f01", "shared_extensions"
Failure/Error:
  Apartment::Tenant.switch(current_tenant) do
    yield
  end

Apartment::TenantNotFound:
  One of the following schema(s) is invalid: "4e264574-6911-45cd-9be3-9de2aa986f01" "4e264574-6911-45cd-9be3-9de2aa986f01", "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:74:in `switch'
./lib/active_job_tenant.rb:55:in `perform_now'
./spec/jobs/destroy_split_pages_job_spec.rb:13:in `block (3 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 4e264574-6911-45cd-9be3-9de2aa986f01
  /usr/local/bundle/bundler/gems/apartment-9ad4b0ef2ee6/lib/apartment/adapters/postgresql_adapter.rb:66:in `connect_to_new'