Page MenuHomePhabricator

[Tunnelbroker] Fix integration tests
ClosedPublic

Authored by kamil on Sep 12 2023, 4:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 6, 5:52 AM
Unknown Object (File)
Mon, Jan 6, 5:52 AM
Unknown Object (File)
Mon, Jan 6, 5:52 AM
Unknown Object (File)
Mon, Jan 6, 5:45 AM
Unknown Object (File)
Sun, Jan 5, 8:06 AM
Unknown Object (File)
Sat, Dec 14, 2:32 AM
Unknown Object (File)
Nov 30 2024, 12:14 AM
Unknown Object (File)
Nov 26 2024, 3:56 PM

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