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, May 4, 3:08 AM
Unknown Object (File)
Wed, May 1, 1:56 PM
Unknown Object (File)
Sun, Apr 28, 5:05 PM
Unknown Object (File)
Sun, Apr 28, 5:04 PM
Unknown Object (File)
Sun, Apr 28, 5:02 PM
Unknown Object (File)
Sun, Apr 28, 4:46 PM
Unknown Object (File)
Apr 16 2024, 7:54 AM
Unknown Object (File)
Apr 15 2024, 8:44 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