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
78116a0f
Commit
78116a0f
authored
Jan 23, 2018
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove left over test data before running tests
parent
b84dc2c7
Changes
1
Hide 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_migrated_event_store_spec.rb
.../services/geo/hashed_storage_migrated_event_store_spec.rb
+4
-0
No files found.
spec/ee/spec/services/geo/hashed_storage_migrated_event_store_spec.rb
View file @
78116a0f
...
@@ -9,6 +9,10 @@ describe Geo::HashedStorageMigratedEventStore do
...
@@ -9,6 +9,10 @@ describe Geo::HashedStorageMigratedEventStore do
subject
(
:event_store
)
{
described_class
.
new
(
project
,
old_storage_version:
nil
,
old_disk_path:
old_disk_path
,
old_wiki_disk_path:
old_wiki_disk_path
)
}
subject
(
:event_store
)
{
described_class
.
new
(
project
,
old_storage_version:
nil
,
old_disk_path:
old_disk_path
,
old_wiki_disk_path:
old_wiki_disk_path
)
}
describe
'#create'
do
describe
'#create'
do
before
do
TestEnv
.
clean_test_path
end
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
}
...
...
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