Page MenuHomePhabricator

[services] Tunnelbroker - Change RabbitMQ queue name for a sandbox mode
ClosedPublic

Authored by max on Aug 5 2022, 5:30 AM.
Tags
None
Referenced Files
F3371019: D4753.diff
Tue, Nov 26, 4:19 AM
Unknown Object (File)
Fri, Nov 22, 11:18 PM
Unknown Object (File)
Tue, Nov 12, 12:33 PM
Unknown Object (File)
Fri, Nov 8, 4:18 PM
Unknown Object (File)
Oct 27 2024, 6:16 AM
Unknown Object (File)
Oct 27 2024, 6:16 AM
Unknown Object (File)
Oct 27 2024, 6:16 AM
Unknown Object (File)
Oct 27 2024, 6:12 AM

Details

Summary

When running in a sandbox mode Tunnelbroker uses a different config file which is tunnelbroker-dev.ini. In a sandbox mode, we are using a test prefix for database table names.
To follow this approach we should use a test name for a RabbitMQ queue instead of the default one.

Related Linear task: ENG-1491

Test Plan

Successfully passing unit tests from D4749.

Diff Detail

Repository
rCOMM Comm
Branch
change-queue-name-for-tests
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

max held this revision as a draft.
max published this revision for review.Aug 5 2022, 5:44 AM
max edited the summary of this revision. (Show Details)
max edited the test plan for this revision. (Show Details)
max added reviewers: karol, tomek.
tomek added inline comments.
services/tunnelbroker/tunnelbroker-dev.ini
2

Is the plan, for each instance of tunnelbroker, to modify the number by hand? Or maybe we're planning to set it automatically?

This revision is now accepted and ready to land.Aug 9 2022, 10:01 AM
max added inline comments.
services/tunnelbroker/tunnelbroker-dev.ini
2

Is the plan, for each instance of tunnelbroker, to modify the number by hand? Or maybe we're planning to set it automatically?

There is no plan at the moment to assign the instance IDs automatically.