Page MenuHomePhabricator

[Tunnelbroker] add authentication tests
ClosedPublic

Authored by kamil on Sep 14 2023, 3:10 AM.
Tags
None
Referenced Files
F5926001: D9200.id31127.diff
Fri, Apr 18, 12:15 AM
F5916648: D9200.id31123.diff
Thu, Apr 17, 9:11 PM
F5912757: D9200.id31130.diff
Thu, Apr 17, 7:40 PM
F5906619: D9200.diff
Thu, Apr 17, 2:17 PM
Unknown Object (File)
Tue, Apr 8, 5:21 PM
Unknown Object (File)
Thu, Apr 3, 12:29 PM
Unknown Object (File)
Tue, Apr 1, 2:16 AM
Unknown Object (File)
Mar 16 2025, 11:26 PM
Subscribers

Details

Summary

I implemented those to make sure D8918 works in both cases, so publishing, maybe will be helpful.

Depends on D8918

Test Plan
  • Start identity service, tunnelbroker
cd services/commtest
cargo test --test identity_tunnelbroker_tests

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Sep 14 2023, 3:20 AM
bartek added inline comments.
services/commtest/tests/identity_tunnelbroker_tests.rs
45 ↗(On Diff #31123)

Nit: Are these unwraps hiding some meaningful error? It's usually a good practice to use expect("error message") instead. This way if this fails, we at least know what exactly failed. Otherwise, error messages are rather vague.

This revision is now accepted and ready to land.Sep 14 2023, 3:39 AM
This revision was automatically updated to reflect the committed changes.