HomePhabricator
Diffusion Comm 399f89b37e22

[services] Tunnelbroker - Database MessageItem tests

Description

[services] Tunnelbroker - Database MessageItem tests

Summary:
Database (DynamoDB) item tests. For the MessageItem database entity we perform:

  • Check if the table is available,
  • Create and fulfill database item entity,
  • Put into the database table,
  • Find the record using the primary key,
  • Compare record fields of created item and item from database record,
  • Remove the testing record from the database.

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: palys-swm

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

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

Details

Provenance
maxAuthored on Apr 11 2022, 3:48 AM
Reviewer
tomek
Differential Revision
D3689: [services] Tunnelbroker - Database MessageItem tests
Parents
rCOMMcc6f856b5658: [services] Backup/Blob - Use this when reffering status
Branches
Unknown
Tags
Unknown