Commit e09558c5 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre Committed by Luke Bennett

Fix HashedStorageAttachmentsEventStore spec when repo is already on disk


(cherry picked from commit 14c4d19c)
parent 510506c1
......@@ -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) }
before do
TestEnv.clean_test_path
end
describe '#create' do
it 'does not create an event when not running on a primary node' do
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