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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
790c740c
Commit
790c740c
authored
Jun 29, 2017
by
Michael Kozono
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase CI retries to 4 for these examples
By default it is 2 tries in CI.
parent
6bbbc0ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
spec/lib/gitlab/health_checks/fs_shards_check_spec.rb
spec/lib/gitlab/health_checks/fs_shards_check_spec.rb
+6
-0
No files found.
spec/lib/gitlab/health_checks/fs_shards_check_spec.rb
View file @
790c740c
...
@@ -97,6 +97,12 @@ describe Gitlab::HealthChecks::FsShardsCheck do
...
@@ -97,6 +97,12 @@ describe Gitlab::HealthChecks::FsShardsCheck do
}.
with_indifferent_access
}.
with_indifferent_access
end
end
# Unsolved intermittent failure in CI https://gitlab.com/gitlab-org/gitlab-ce/issues/31128
around
(
:each
)
do
|
example
|
times_to_try
=
ENV
[
'CI'
]
?
4
:
1
example
.
run_with_retry
retry:
times_to_try
end
it
{
is_expected
.
to
all
(
have_attributes
(
labels:
{
shard: :default
}))
}
it
{
is_expected
.
to
all
(
have_attributes
(
labels:
{
shard: :default
}))
}
it
{
is_expected
.
to
include
(
an_object_having_attributes
(
name: :filesystem_accessible
,
value:
0
))
}
it
{
is_expected
.
to
include
(
an_object_having_attributes
(
name: :filesystem_accessible
,
value:
0
))
}
...
...
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