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
571deec0
Commit
571deec0
authored
Oct 25, 2019
by
Phil Calder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Temporarily bypass flaky experiment test
parent
397901a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
spec/lib/gitlab/experimentation_spec.rb
spec/lib/gitlab/experimentation_spec.rb
+4
-2
No files found.
spec/lib/gitlab/experimentation_spec.rb
View file @
571deec0
...
@@ -74,7 +74,8 @@ describe Gitlab::Experimentation do
...
@@ -74,7 +74,8 @@ describe Gitlab::Experimentation do
describe
'URL parameter to force enable experiment'
do
describe
'URL parameter to force enable experiment'
do
context
'is not present'
do
context
'is not present'
do
it
'returns false'
do
# Disabled until https://gitlab.com/gitlab-org/gitlab/issues/34942 is solved properly
xit
'returns false'
do
get
:index
,
params:
{
force_experiment: :test_experiment2
}
get
:index
,
params:
{
force_experiment: :test_experiment2
}
expect
(
controller
.
experiment_enabled?
(
:test_experiment
)).
to
be_falsey
expect
(
controller
.
experiment_enabled?
(
:test_experiment
)).
to
be_falsey
...
@@ -82,7 +83,8 @@ describe Gitlab::Experimentation do
...
@@ -82,7 +83,8 @@ describe Gitlab::Experimentation do
end
end
context
'is present'
do
context
'is present'
do
it
'returns true'
do
# Disabled until https://gitlab.com/gitlab-org/gitlab/issues/34942 is solved properly
xit
'returns true'
do
get
:index
,
params:
{
force_experiment: :test_experiment
}
get
:index
,
params:
{
force_experiment: :test_experiment
}
expect
(
controller
.
experiment_enabled?
(
:test_experiment
)).
to
be_truthy
expect
(
controller
.
experiment_enabled?
(
:test_experiment
)).
to
be_truthy
...
...
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