Page MenuHomePhabricator

[services/commtest] Tunnelbroker - Adding of helper function for the `SessionSignature` client request
ClosedPublic

Authored by max on Dec 7 2022, 5:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 18, 6:17 PM
Unknown Object (File)
Wed, Dec 18, 6:17 PM
Unknown Object (File)
Wed, Dec 18, 6:17 PM
Unknown Object (File)
Wed, Dec 18, 6:17 PM
Unknown Object (File)
Wed, Dec 18, 6:17 PM
Unknown Object (File)
Wed, Dec 18, 10:59 AM
Unknown Object (File)
Thu, Nov 28, 11:55 PM
Unknown Object (File)
Thu, Nov 28, 11:55 PM
Subscribers

Details

Summary

This diff introduces adding the helper method to the Commtest integration API tests with the gRPC client to call the SessionSignature request to the Tunnelbroker server and return a result from a call.
This function is called in D5931 where the tests themselves are called.

Linear task: ENG-1657

Test Plan

The commtest app is successfully built and the tests are successfully passed in the following D5931.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

max held this revision as a draft.
max added a reviewer: bartek.
max edited the summary of this revision. (Show Details)

Rebasing on the master changes.

max published this revision for review.Dec 19 2022, 7:03 AM
max edited the summary of this revision. (Show Details)
max edited the test plan for this revision. (Show Details)
max added 1 blocking reviewer(s): jon.

LGTM

services/commtest/src/tunnelbroker/new_session.rs
16–17 ↗(On Diff #19545)

not sure which one is cleaner

This revision is now accepted and ready to land.Dec 20 2022, 9:51 AM
max added inline comments.
services/commtest/src/tunnelbroker/new_session.rs
16–17 ↗(On Diff #19545)

not sure which one is cleaner

I think your edit is shorter and ok to read. I'll change it. Thanks, @jon !

max marked an inline comment as done.

Rebasing on master.