Skip to content

Disable consolidated object storage in config in tests

Stan Hu requested to merge sh-disable-object-store-in-tests into master

What does this MR do and why?

Previously if consolidated object storage were configured, then tests would fail since they would attempt to use the development settings. Disable this in tests so that tests continue to function even when development is configured for object storage.

How to set up and validate locally

  1. In your GDK, enable object storage: https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/howto/object_storage.md?ref_type=heads
  2. Attempt to run: bundle exec rspec ./spec/services/design_management/save_designs_service_spec.rb
Edited by Stan Hu

Merge request reports