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)
Mon, Nov 11, 8:44 PM
Unknown Object (File)
Fri, Nov 8, 10:44 PM
Unknown Object (File)
Fri, Nov 8, 4:17 PM
Unknown Object (File)
Fri, Nov 8, 4:17 PM
Unknown Object (File)
Fri, Nov 8, 4:17 PM
Unknown Object (File)
Fri, Nov 8, 4:17 PM
Unknown Object (File)
Fri, Nov 8, 4:17 PM
Unknown Object (File)
Fri, Nov 8, 3:49 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
Branch
commtest-helpers-getsign
Lint
No Lint Coverage
Unit
No Test Coverage

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.