HomePhabricator
Diffusion Comm 3819740fbf82

[services] Tunnelbroker - Database SessionItem tests

Description

[services] Tunnelbroker - Database SessionItem tests

Summary:
Database (DynamoDB) item tests. For the SessionItem 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: varun, palys-swm, karol-bisztyga

Reviewed By: palys-swm

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

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

Details

Provenance
maxAuthored on Apr 11 2022, 3:32 AM
Reviewer
tomek
Differential Revision
D3686: [services] Tunnelbroker - Database SessionItem tests
Parents
rCOMMc093db50dc3b: [native] Introduce `ColorSelectorButton` component
Branches
Unknown
Tags
Unknown