lp:~vila/uci-engine/1302471-fake-rabbit
- Get this branch:
- bzr branch lp:~vila/uci-engine/1302471-fake-rabbit
Branch merges
- Andy Doan (community): Needs Fixing
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 631 lines (+307/-61)15 files modifiedbranch-source-builder/bsbuilder/run_worker.py (+1/-1)
ci-utils/ci_utils/amqp_utils.py (+33/-16)
ci-utils/ci_utils/amqp_worker.py (+11/-5)
ci-utils/ci_utils/gpg.py (+1/-1)
ci-utils/ci_utils/sourcecode.py (+1/-1)
ci-utils/ci_utils/testing/fixtures.py (+19/-0)
ci-utils/ci_utils/tests/test_amqp_worker.py (+2/-2)
image-builder/imagebuilder/run_worker.py (+1/-1)
lander/bin/json_status_cgi.py (+1/-1)
lander/bin/lander_process_ticket.py (+1/-1)
test_runner/tstrun/run_worker.py (+3/-3)
test_runner/tstrun/testbed.py (+3/-2)
test_runner/tstrun/tests/test_worker.py (+47/-0)
tests/deployers.py (+34/-27)
tests/test_rabbit.py (+149/-0)
Related bugs
Related blueprints
Branch information
Recent revisions
- 452. By Vincent Ladeuil
-
Introduce FakeTaskQueue() so tests can be written without requiring a real rabbit server. Since that require that common parameters are provided at subscription time change the parameter order for all handle_request() methods. The 'progress_trigger' param is not unique anymore, use 'ticket_id' to create the testbed name (which is less wrong).
- 450. By Vincent Ladeuil
-
Images have been upgraded on canonistack, catch up and notice that the error raised is unclear.
- 446. By Vincent Ladeuil
-
Add explicit nacked message test. There is too much code in tests right now, some should go amqp_utils, some should go into a class to capture the juju/cli API to setup the server itself and interact with it.
- 445. By Vincent Ladeuil
-
Starting with 6 mins to run ./run-tests test_rabbit, to 3 mins 5
secs (first run) and 1 min 4s (all subsequent runs) by deploying the
rabbit service on node 0 and avoid the costly instance spin up.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:uci-engine