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
43bbe885
Commit
43bbe885
authored
Sep 28, 2021
by
nmilojevic1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added specs for idempotent worker
parent
70974d52
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
spec/workers/expire_job_cache_worker_spec.rb
spec/workers/expire_job_cache_worker_spec.rb
+2
-0
No files found.
spec/workers/expire_job_cache_worker_spec.rb
View file @
43bbe885
...
@@ -13,6 +13,8 @@ RSpec.describe ExpireJobCacheWorker do
...
@@ -13,6 +13,8 @@ RSpec.describe ExpireJobCacheWorker do
let
(
:job_args
)
{
job
.
id
}
let
(
:job_args
)
{
job
.
id
}
it_behaves_like
'an idempotent worker'
it_behaves_like
'worker with data consistency'
,
it_behaves_like
'worker with data consistency'
,
described_class
,
described_class
,
data_consistency: :delayed
data_consistency: :delayed
...
...
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