Specs not running after GDK reconfigure.
The geo_secondary_role
is set to enabled by default.
This causes specs to fail after a gdk reconfigure
with this message:
NoMethodError: undefined method `geo_database' for #<Rails::Application::Configuration:0x007fdd2529c598>
/Users/bvl/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/railties-4.2.8/lib/rails/railtie/configuration.rb:95:in `method_missing'
/Users/bvl/repos/gitlab-ee/gitlab/app/models/geo/base_registry.rb:5:in `<class:BaseRegistry>'
/Users/bvl/repos/gitlab-ee/gitlab/app/models/geo/base_registry.rb:1:in `<top (required)>'
There is a task in GDK to enable geo that also flips this flag: https://gitlab.com/gitlab-org/gitlab-development-kit/blob/master/Makefile#L222-223