diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-07 00:09:08 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-07 00:09:08 +0300 |
commit | f2143c9986ad7b6206b8a41cc9aeb419e543d3f5 (patch) | |
tree | 215aecfdd982c53e2b8565cb5b2299d7dd4665b0 /spec/config | |
parent | 5a73318262aab6ab952f2b7205b3674ea1f20053 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/config')
-rw-r--r-- | spec/config/object_store_settings_spec.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/config/object_store_settings_spec.rb b/spec/config/object_store_settings_spec.rb index 8feb0ab7b0f..7b4fa495288 100644 --- a/spec/config/object_store_settings_spec.rb +++ b/spec/config/object_store_settings_spec.rb @@ -70,7 +70,6 @@ RSpec.describe ObjectStoreSettings, feature_category: :not_owned do expect(settings.artifacts['object_store']['enabled']).to be true expect(settings.artifacts['object_store']['connection']).to eq(connection) expect(settings.artifacts['object_store']['direct_upload']).to be true - expect(settings.artifacts['object_store']['background_upload']).to be false expect(settings.artifacts['object_store']['proxy_download']).to be false expect(settings.artifacts['object_store']['remote_directory']).to eq('artifacts') expect(settings.artifacts['object_store']['bucket_prefix']).to eq(nil) @@ -81,7 +80,6 @@ RSpec.describe ObjectStoreSettings, feature_category: :not_owned do expect(settings.lfs['object_store']['enabled']).to be true expect(settings.lfs['object_store']['connection']).to eq(connection) expect(settings.lfs['object_store']['direct_upload']).to be true - expect(settings.lfs['object_store']['background_upload']).to be false expect(settings.lfs['object_store']['proxy_download']).to be true expect(settings.lfs['object_store']['remote_directory']).to eq('lfs-objects') expect(settings.lfs['object_store']['bucket_prefix']).to eq(nil) @@ -200,7 +198,6 @@ RSpec.describe ObjectStoreSettings, feature_category: :not_owned do 'enabled' => true, 'remote_directory' => 'some-bucket', 'direct_upload' => false, - 'background_upload' => true, 'proxy_download' => false } end @@ -215,9 +212,7 @@ RSpec.describe ObjectStoreSettings, feature_category: :not_owned do expect(settings.artifacts['object_store']).to be_nil expect(settings.lfs['object_store']['remote_directory']).to eq('some-bucket') expect(settings.lfs['object_store']['bucket_prefix']).to eq(nil) - # Disable background_upload, regardless of the input config expect(settings.lfs['object_store']['direct_upload']).to eq(true) - expect(settings.lfs['object_store']['background_upload']).to eq(false) expect(settings.external_diffs['object_store']).to be_nil end end @@ -230,7 +225,6 @@ RSpec.describe ObjectStoreSettings, feature_category: :not_owned do expect(settings['enabled']).to be false expect(settings['direct_upload']).to be true - expect(settings['background_upload']).to be false expect(settings['remote_directory']).to be nil expect(settings['bucket_prefix']).to be nil end @@ -245,7 +239,6 @@ RSpec.describe ObjectStoreSettings, feature_category: :not_owned do expect(settings['enabled']).to be true expect(settings['direct_upload']).to be true - expect(settings['background_upload']).to be false expect(settings['remote_directory']).to eq 'artifacts' expect(settings['bucket_prefix']).to be nil end |