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
5af239b9
Commit
5af239b9
authored
May 07, 2018
by
Tiago Botelho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ProjectImportState factory conflicts
parent
86434ef5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
spec/factories/import_state.rb
spec/factories/import_state.rb
+0
-16
No files found.
spec/factories/import_state.rb
View file @
5af239b9
...
...
@@ -11,7 +11,6 @@ FactoryBot.define do
association
:project
,
factory:
[
:project
,
:repository
]
end
<<<<<<<
HEAD
trait
:mirror
do
transient
do
mirror
true
...
...
@@ -26,23 +25,17 @@ FactoryBot.define do
end
end
=======
>>>>>>>
upstream
/
master
trait
:none
do
status
:none
end
trait
:scheduled
do
status
:scheduled
<<<<<<<
HEAD
last_update_scheduled_at
{
Time
.
now
}
=======
>>>>>>>
upstream
/
master
end
trait
:started
do
status
:started
<<<<<<<
HEAD
last_update_started_at
{
Time
.
now
}
end
...
...
@@ -52,17 +45,10 @@ FactoryBot.define do
status
:finished
last_update_at
timestamp
last_successful_update_at
timestamp
=======
end
trait
:finished
do
status
:finished
>>>>>>>
upstream
/
master
end
trait
:failed
do
status
:failed
<<<<<<<
HEAD
last_update_at
{
Time
.
now
}
end
...
...
@@ -70,8 +56,6 @@ FactoryBot.define do
status
:failed
retry_count
{
Gitlab
::
Mirror
::
MAX_RETRY
+
1
}
last_update_at
{
Time
.
now
-
1
.
minute
}
=======
>>>>>>>
upstream
/
master
end
after
(
:create
)
do
|
import_state
,
evaluator
|
...
...
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