HomePhabricator
Diffusion Comm 8f2c63d89fcb

[services] Tunnelbroker - Database PublicKeyItem tests

Description

[services] Tunnelbroker - Database PublicKeyItem tests

Summary:
Database (DynamoDB) item tests. For the PublicKeyItem 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/D3688

Details

Provenance
maxAuthored on Apr 11 2022, 3:43 AM
Reviewer
tomek
Differential Revision
D3688: [services] Tunnelbroker - Database PublicKeyItem tests
Parents
rCOMMf456a1f750ec: [services] Tunnelbroker - Database SessionSignatureItem tests
Branches
Unknown
Tags
Unknown