Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flaky spec: Tenants Create Tenant with subdomain #5155

Open
javierm opened this issue Jul 18, 2023 · 0 comments
Open

Flaky spec: Tenants Create Tenant with subdomain #5155

javierm opened this issue Jul 18, 2023 · 0 comments

Comments

@javierm
Copy link
Member

javierm commented Jul 18, 2023

References

Failure

   1) Tenants Create Tenant with subdomain
     Failure/Error:
       raise TenantNotFound, <<~EXCEPTION_MESSAGE
         Could not set search path to schemas, they may be invalid: "#{tenant}" #{full_search_path}.
         Original error: #{exception.class}: #{exception}
       EXCEPTION_MESSAGE

     Apartment::TenantNotFound:
       Could not set search path to schemas, they may be invalid: "earth" "public", "shared_extensions".
       Original error: ActiveRecord::StatementInvalid: Could not find schema earth

    (...)

     # ActiveRecord::StatementInvalid:
     #   Could not find schema earth
     #   /home/runner/work/consul/consul/vendor/bundle/ruby/3.0.0/gems/ros-apartment-2.11.0/lib/apartment/adapters/postgresql_adapter.rb:75:in `connect_to_new'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant