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
fe6e44a4
Commit
fe6e44a4
authored
Aug 10, 2021
by
Andrejs Cunskis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update large gh import duration
parent
2749cc72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
qa/qa/specs/features/api/1_manage/import_large_github_repo_spec.rb
...cs/features/api/1_manage/import_large_github_repo_spec.rb
+2
-1
No files found.
qa/qa/specs/features/api/1_manage/import_large_github_repo_spec.rb
View file @
fe6e44a4
...
...
@@ -24,6 +24,7 @@ module QA
end
let
(
:github_repo
)
{
ENV
[
'QA_LARGE_GH_IMPORT_REPO'
]
||
'rspec/rspec-core'
}
let
(
:import_max_duration
)
{
ENV
[
'QA_LARGE_GH_IMPORT_DURATION'
]
?
ENV
[
'QA_LARGE_GH_IMPORT_DURATION'
].
to_i
:
7200
}
let
(
:github_client
)
do
Octokit
.
middleware
=
Faraday
::
RackBuilder
.
new
do
|
builder
|
builder
.
response
(
:logger
,
logger
,
headers:
false
,
bodies:
false
)
...
...
@@ -137,7 +138,7 @@ module QA
raise
"Import of '
#{
imported_project
.
name
}
' failed!"
if
status
==
'failed'
end
end
expect
(
import_status
).
to
eventually_eq
(
'finished'
).
within
(
duration:
3600
,
interval:
30
)
expect
(
import_status
).
to
eventually_eq
(
'finished'
).
within
(
duration:
import_max_duration
,
interval:
30
)
@import_time
=
Time
.
now
-
start
aggregate_failures
do
...
...
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