forked from Silverfish/proton-bridge
feat(GODT-2556): Add functional test for Heartbeat Init and telemetry availability.
This commit is contained in:
committed by
Romain Le Jeune
parent
4adc6d60b9
commit
d3fc9a50f6
@ -175,6 +175,7 @@ func (t *testCtx) initBridge() (<-chan events.Event, error) {
|
||||
|
||||
t.bridge = bridge
|
||||
t.heartbeat.setBridge(bridge)
|
||||
|
||||
bridge.StartHeartbeat(t.heartbeat)
|
||||
|
||||
return t.events.collectFrom(eventCh), nil
|
||||
@ -344,6 +345,9 @@ func (t *testCtx) closeFrontendClient() error {
|
||||
|
||||
return nil
|
||||
}
|
||||
func (t *testCtx) expectProxyCtlAllowProxy() {
|
||||
t.mocks.ProxyCtl.EXPECT().AllowProxy()
|
||||
}
|
||||
|
||||
type mockRestarter struct{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user