Commit f308db4e authored by Sean McGivern's avatar Sean McGivern

Merge branch...

Merge branch '4242-failure-in-spec-ee-spec-services-ee-geo-hashed_storage_attachments_event_store_spec-rb' into 'master'

Resolve "Failure in spec/ee/spec/services/ee/projects/hashed_storage/migrate_attachments_service_spec.rb"

Closes #4242

See merge request gitlab-org/gitlab-ee!3995
parents c84f08e4 14c4d19c
...@@ -9,6 +9,10 @@ describe Geo::HashedStorageAttachmentsEventStore do ...@@ -9,6 +9,10 @@ describe Geo::HashedStorageAttachmentsEventStore do
subject(:event_store) { described_class.new(project, old_storage_version: 1, new_storage_version: 2, old_attachments_path: old_attachments_path, new_attachments_path: new_attachments_path) } subject(:event_store) { described_class.new(project, old_storage_version: 1, new_storage_version: 2, old_attachments_path: old_attachments_path, new_attachments_path: new_attachments_path) }
before do
TestEnv.clean_test_path
end
describe '#create' do describe '#create' do
it 'does not create an event when not running on a primary node' do it 'does not create an event when not running on a primary node' do
allow(Gitlab::Geo).to receive(:primary?) { false } allow(Gitlab::Geo).to receive(:primary?) { false }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment