Commit db702e97 authored by alinamihaila's avatar alinamihaila

Improve test description

parent b5bd7815
...@@ -53,7 +53,7 @@ RSpec.describe Gitlab::UsageDataCounters::HLLRedisCounter, :clean_gitlab_redis_s ...@@ -53,7 +53,7 @@ RSpec.describe Gitlab::UsageDataCounters::HLLRedisCounter, :clean_gitlab_redis_s
end end
context 'for weekly events' do 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") described_class.track_event(entity1, "g_analytics_contribution")
Gitlab::Redis::SharedState.with do |redis| Gitlab::Redis::SharedState.with do |redis|
...@@ -81,7 +81,7 @@ RSpec.describe Gitlab::UsageDataCounters::HLLRedisCounter, :clean_gitlab_redis_s ...@@ -81,7 +81,7 @@ RSpec.describe Gitlab::UsageDataCounters::HLLRedisCounter, :clean_gitlab_redis_s
end end
context 'for daily events' do 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") described_class.track_event(entity1, "g_analytics_search")
Gitlab::Redis::SharedState.with do |redis| Gitlab::Redis::SharedState.with do |redis|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment