diff options
author | aiionx <aion.x@hotmail.com> | 2016-04-13 20:00:37 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-04-19 21:31:09 -0700 |
commit | 750fd3f8447c3e7a742a33f45b46b10e4d763c3e (patch) | |
tree | 18e52a25c25dd18e52c57f9aed979260702caf0e /spec | |
parent | 4a8db75d9de6ff5ce56be6c36e957e89971a2d42 (diff) | |
download | gitlab-shell-750fd3f8447c3e7a742a33f45b46b10e4d763c3e.tar.gz |
Update post receive worker so it logs a unique JID in sidekiqaiionx/gitlab-shell-aiionx-post_receive_jid
Diffstat (limited to 'spec')
-rw-r--r-- | spec/gitlab_post_receive_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/gitlab_post_receive_spec.rb b/spec/gitlab_post_receive_spec.rb index 3c1f362..9d7696e 100644 --- a/spec/gitlab_post_receive_spec.rb +++ b/spec/gitlab_post_receive_spec.rb @@ -50,7 +50,7 @@ describe GitlabPostReceive do expect(gitlab_post_receive).to receive(:system).with( *[ *%w(env -i redis-cli rpush resque:gitlab:queue:post_receive), - %Q/{"class":"PostReceive","args":["#{repo_path}","#{actor}",#{base64_changes.inspect}]}/, + %Q/{"class":"PostReceive","args":["#{repo_path}","#{actor}",#{base64_changes.inspect}],"jid":"#{gitlab_post_receive.jid}"}/, { err: "/dev/null", out: "/dev/null" } ] ).and_return(true) |