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
266a8421
Commit
266a8421
authored
Aug 04, 2017
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spec for Gitlab::Geo::LogCursor::Daemon
parent
8294f211
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
spec/lib/gitlab/geo/log_cursor/daemon_spec.rb
spec/lib/gitlab/geo/log_cursor/daemon_spec.rb
+2
-1
No files found.
spec/lib/gitlab/geo/log_cursor/daemon_spec.rb
View file @
266a8421
...
...
@@ -2,6 +2,8 @@ require 'spec_helper'
describe
Gitlab
::
Geo
::
LogCursor
::
Daemon
do
describe
'#run!'
do
let!
(
:geo_node
)
{
create
(
:geo_node
,
:current
)
}
it
'traps signals'
do
allow
(
subject
).
to
receive
(
:exit?
)
{
true
}
expect
(
subject
).
to
receive
(
:trap_signals
)
...
...
@@ -22,7 +24,6 @@ describe Gitlab::Geo::LogCursor::Daemon do
end
context
'when replaying a repository updated event'
do
let!
(
:geo_node
)
{
create
(
:geo_node
,
:current
)
}
let
(
:event_log
)
{
create
(
:geo_event_log
,
:updated_event
)
}
let!
(
:event_log_state
)
{
create
(
:geo_event_log_state
,
event_id:
event_log
.
id
-
1
)
}
let
(
:repository_updated_event
)
{
event_log
.
repository_updated_event
}
...
...
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