Page MenuHomePhabricator

[Tunnelbroker] Fix integration tests
ClosedPublic

Authored by kamil on Sep 12 2023, 4:01 AM.
Tags
None
Referenced Files
F1688740: D9142.id30961.diff
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)
Tue, Apr 16, 7:54 AM
Unknown Object (File)
Mon, Apr 15, 8:44 PM
Unknown Object (File)
Mon, Apr 15, 6:28 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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