Add in http health check end points for redis subscription channels

This commit is contained in:
James Allen
2014-11-19 14:12:37 +00:00
parent 34e20e99f5
commit 8b9a26d6f3
5 changed files with 23 additions and 4 deletions
@@ -9,7 +9,7 @@ describe "EditorRealTimeController", ->
"redis-sharelatex":
createClient: () ->
auth:->
createRobustSubscriptionClient: () ->
createMonitoredSubscriptionClient: () ->
auth:->
"../../infrastructure/Server" : io: @io = {}
@EditorRealTimeController.rclientPub = publish: sinon.stub()
@@ -18,7 +18,7 @@ describe "EditorUpdatesController", ->
"../../infrastructure/Metrics" : @metrics = { set: sinon.stub(), inc: sinon.stub() }
"../../infrastructure/Server" : io: @io = {}
"redis-sharelatex" :
createRobustSubscriptionClient: ()=>
createMonitoredSubscriptionClient: ()=>
@rclient = {auth:->}
describe "_applyUpdate", ->