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
a8c413c1
Commit
a8c413c1
authored
Mar 07, 2018
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ee/spec/finders/geo/lfs_object_registry_finder_spec.rb
parent
3da6d69a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ee/spec/finders/geo/lfs_object_registry_finder_spec.rb
ee/spec/finders/geo/lfs_object_registry_finder_spec.rb
+4
-4
No files found.
ee/spec/finders/geo/lfs_object_registry_finder_spec.rb
View file @
a8c413c1
...
@@ -38,7 +38,7 @@ describe Geo::LfsObjectRegistryFinder, :geo do
...
@@ -38,7 +38,7 @@ describe Geo::LfsObjectRegistryFinder, :geo do
create
(
:geo_file_registry
,
:lfs
,
file_id:
lfs_object_1
.
id
)
create
(
:geo_file_registry
,
:lfs
,
file_id:
lfs_object_1
.
id
)
create
(
:geo_file_registry
,
:lfs
,
file_id:
lfs_object_2
.
id
)
create
(
:geo_file_registry
,
:lfs
,
file_id:
lfs_object_2
.
id
)
create
(
:geo_file_registry
,
:lfs
,
file_id:
lfs_object_3
.
id
)
create
(
:geo_file_registry
,
:lfs
,
file_id:
lfs_object_3
.
id
)
lfs_object_1
.
update
!
(
file_store:
ObjectStorage
::
Store
::
REMOTE
)
lfs_object_1
.
update
_column
(
:file_store
,
ObjectStorage
::
Store
::
REMOTE
)
expect
(
subject
.
count_synced_lfs_objects
).
to
eq
2
expect
(
subject
.
count_synced_lfs_objects
).
to
eq
2
end
end
...
@@ -72,7 +72,7 @@ describe Geo::LfsObjectRegistryFinder, :geo do
...
@@ -72,7 +72,7 @@ describe Geo::LfsObjectRegistryFinder, :geo do
create
(
:geo_file_registry
,
:lfs
,
file_id:
lfs_object_1
.
id
)
create
(
:geo_file_registry
,
:lfs
,
file_id:
lfs_object_1
.
id
)
create
(
:geo_file_registry
,
:lfs
,
file_id:
lfs_object_2
.
id
)
create
(
:geo_file_registry
,
:lfs
,
file_id:
lfs_object_2
.
id
)
create
(
:geo_file_registry
,
:lfs
,
file_id:
lfs_object_3
.
id
)
create
(
:geo_file_registry
,
:lfs
,
file_id:
lfs_object_3
.
id
)
lfs_object_1
.
update
!
(
file_store:
ObjectStorage
::
Store
::
REMOTE
)
lfs_object_1
.
update
_column
(
:file_store
,
ObjectStorage
::
Store
::
REMOTE
)
expect
(
subject
.
count_synced_lfs_objects
).
to
eq
1
expect
(
subject
.
count_synced_lfs_objects
).
to
eq
1
end
end
...
@@ -98,7 +98,7 @@ describe Geo::LfsObjectRegistryFinder, :geo do
...
@@ -98,7 +98,7 @@ describe Geo::LfsObjectRegistryFinder, :geo do
create
(
:geo_file_registry
,
:lfs
,
file_id:
lfs_object_1
.
id
,
success:
false
)
create
(
:geo_file_registry
,
:lfs
,
file_id:
lfs_object_1
.
id
,
success:
false
)
create
(
:geo_file_registry
,
:lfs
,
file_id:
lfs_object_2
.
id
,
success:
false
)
create
(
:geo_file_registry
,
:lfs
,
file_id:
lfs_object_2
.
id
,
success:
false
)
create
(
:geo_file_registry
,
:lfs
,
file_id:
lfs_object_3
.
id
,
success:
false
)
create
(
:geo_file_registry
,
:lfs
,
file_id:
lfs_object_3
.
id
,
success:
false
)
lfs_object_1
.
update
!
(
file_store:
ObjectStorage
::
Store
::
REMOTE
)
lfs_object_1
.
update
_column
(
:file_store
,
ObjectStorage
::
Store
::
REMOTE
)
expect
(
subject
.
count_failed_lfs_objects
).
to
eq
2
expect
(
subject
.
count_failed_lfs_objects
).
to
eq
2
end
end
...
@@ -132,7 +132,7 @@ describe Geo::LfsObjectRegistryFinder, :geo do
...
@@ -132,7 +132,7 @@ describe Geo::LfsObjectRegistryFinder, :geo do
create
(
:geo_file_registry
,
:lfs
,
file_id:
lfs_object_1
.
id
,
success:
false
)
create
(
:geo_file_registry
,
:lfs
,
file_id:
lfs_object_1
.
id
,
success:
false
)
create
(
:geo_file_registry
,
:lfs
,
file_id:
lfs_object_2
.
id
,
success:
false
)
create
(
:geo_file_registry
,
:lfs
,
file_id:
lfs_object_2
.
id
,
success:
false
)
create
(
:geo_file_registry
,
:lfs
,
file_id:
lfs_object_3
.
id
,
success:
false
)
create
(
:geo_file_registry
,
:lfs
,
file_id:
lfs_object_3
.
id
,
success:
false
)
lfs_object_1
.
update
!
(
file_store:
ObjectStorage
::
Store
::
REMOTE
)
lfs_object_1
.
update
_column
(
:file_store
,
ObjectStorage
::
Store
::
REMOTE
)
expect
(
subject
.
count_failed_lfs_objects
).
to
eq
1
expect
(
subject
.
count_failed_lfs_objects
).
to
eq
1
end
end
...
...
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