HomePhabricator
Diffusion Comm 8a4616ee6e07

[services] Tunnelbroker - DeliveryBroker tests

Description

[services] Tunnelbroker - DeliveryBroker tests

Summary:
DeliveryBroker - is an internal class to deliver and queue messages between the gRPC threads and AMQP thread.
This diff is a DeliveryBroker class tests. We performs checks for:

  • Push/Pop message to/from the deviceID queue,
  • Check if queue is empty,
  • Erase the queue for the certain deviceID.

Related linear task: ENG-686

Test Plan: Run yarn test-tunnelbroker-service all tests are run and succeed.

Reviewers: karol-bisztyga, palys-swm, varun

Reviewed By: karol-bisztyga, palys-swm

Subscribers: ashoat, palys-swm, Adrian, atul, karol-bisztyga, benschac, yayabosh

Differential Revision: https://phabricator.ashoat.com/D3645

Details

Provenance
maxAuthored on Apr 18 2022, 4:41 AM
Reviewer
karol
Differential Revision
D3645: [services] Tunnelbroker - DeliveryBroker tests
Parents
rCOMM2bfb55f8eab6: [native] [fix] [ENG-1016] fix prompt copy
Branches
Unknown
Tags
Unknown