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
db702e97
Commit
db702e97
authored
Aug 26, 2020
by
alinamihaila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve test description
parent
b5bd7815
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/lib/gitlab/usage_data_counters/hll_redis_counter_spec.rb
.../lib/gitlab/usage_data_counters/hll_redis_counter_spec.rb
+2
-2
No files found.
spec/lib/gitlab/usage_data_counters/hll_redis_counter_spec.rb
View file @
db702e97
...
...
@@ -53,7 +53,7 @@ RSpec.describe Gitlab::UsageDataCounters::HLLRedisCounter, :clean_gitlab_redis_s
end
context
'for weekly events'
do
it
'sets the keys in Redis to expire automatically after
12 weeks
'
do
it
'sets the keys in Redis to expire automatically after
the given expiry time
'
do
described_class
.
track_event
(
entity1
,
"g_analytics_contribution"
)
Gitlab
::
Redis
::
SharedState
.
with
do
|
redis
|
...
...
@@ -81,7 +81,7 @@ RSpec.describe Gitlab::UsageDataCounters::HLLRedisCounter, :clean_gitlab_redis_s
end
context
'for daily events'
do
it
'sets the keys in Redis to expire after
84 days
'
do
it
'sets the keys in Redis to expire after
the given expiry time
'
do
described_class
.
track_event
(
entity1
,
"g_analytics_search"
)
Gitlab
::
Redis
::
SharedState
.
with
do
|
redis
|
...
...
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