Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e09558c5
Commit
e09558c5
authored
Jan 10, 2018
by
Douglas Barbosa Alexandre
Committed by
Luke Bennett
Jan 10, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix HashedStorageAttachmentsEventStore spec when repo is already on disk
(cherry picked from commit
14c4d19c
)
parent
510506c1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
spec/ee/spec/services/geo/hashed_storage_attachments_event_store_spec.rb
...rvices/geo/hashed_storage_attachments_event_store_spec.rb
+4
-0
No files found.
spec/ee/spec/services/geo/hashed_storage_attachments_event_store_spec.rb
View file @
e09558c5
...
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment