Page MenuHomePhabricator

[Tunnelbroker] Fix integration tests
ClosedPublic

Authored by kamil on Sep 12 2023, 4:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 2:05 PM
Unknown Object (File)
Sat, Nov 23, 3:19 AM
Unknown Object (File)
Wed, Nov 13, 2:11 AM
Unknown Object (File)
Thu, Nov 7, 5:53 PM
Unknown Object (File)
Wed, Oct 30, 3:57 PM
Unknown Object (File)
Wed, Oct 30, 3:57 PM
Unknown Object (File)
Wed, Oct 30, 3:57 PM
Unknown Object (File)
Wed, Oct 30, 3:53 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