Page MenuHomePhabricator

[Tunnelbroker] Fix integration tests
ClosedPublic

Authored by kamil on Sep 12 2023, 4:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Feb 13, 2:20 PM
Unknown Object (File)
Mon, Feb 3, 6:21 AM
Unknown Object (File)
Fri, Jan 24, 12:42 PM
Unknown Object (File)
Wed, Jan 22, 1:30 AM
Unknown Object (File)
Jan 10 2025, 9:23 AM
Unknown Object (File)
Jan 6 2025, 5:52 AM
Unknown Object (File)
Jan 6 2025, 5:52 AM
Unknown Object (File)
Jan 6 2025, 5:52 AM

Details

Summary

@bartek reported that tests are not working on master.

Fix small issue from D7661

Test Plan

Run tests

Diff Detail

Repository
rCOMM Comm
Branch
fix-tb-test
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Sep 12 2023, 4:17 AM
This revision is now accepted and ready to land.Sep 12 2023, 4:19 AM
This revision was automatically updated to reflect the committed changes.

What's the command to run tests? Can they be run without any additional configuration?

In D9142#269446, @atul wrote:

What's the command to run tests? Can they be run without any additional configuration?

You need to have Localstack, RabbitMQ and Tunnelbroker running in background. All environment and config for dev/tests is provided by Nix. Then you do

cd services/commtest
cargo test --test tunnelbroker_integration_test