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
beef83fc
Commit
beef83fc
authored
Jan 27, 2022
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Raise timeout to 10 seconds because it's slower now
parent
6010918f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/commands/metrics_server/metrics_server_spec.rb
spec/commands/metrics_server/metrics_server_spec.rb
+2
-2
No files found.
spec/commands/metrics_server/metrics_server_spec.rb
View file @
beef83fc
...
...
@@ -47,7 +47,7 @@ RSpec.describe 'bin/metrics-server', :aggregate_failures do
if
@pid
pgrp
=
Process
.
getpgid
(
@pid
)
Timeout
.
timeout
(
5
)
do
Timeout
.
timeout
(
10
)
do
Process
.
kill
(
'TERM'
,
-
pgrp
)
Process
.
waitpid
(
@pid
)
end
...
...
@@ -63,7 +63,7 @@ RSpec.describe 'bin/metrics-server', :aggregate_failures do
it
'serves /metrics endpoint'
do
expect
do
Timeout
.
timeout
(
5
)
do
Timeout
.
timeout
(
10
)
do
http_ok
=
false
until
http_ok
sleep
1
...
...
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