Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4113)

Issue 7306095: Add test for destroy service regression.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by bac
Modified:
11 years, 2 months ago
Reviewers:
mp+148030
Visibility:
Public.

Description

Add test for destroy service regression. A recent change fixed a regression that occured when a service was destroyed. The old service, which was removed from the database, was still in the service_boxes object. Code was added to remove services from service_boxes if it is removed from the database. This branch adds a unit test for that functionality. https://code.launchpad.net/~bac/juju-gui/test-destroy-service/+merge/148030 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add test for destroy service regression. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -0 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M test/test_environment_view.js View 1 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 5
bac
Please take a look.
11 years, 2 months ago (2013-02-12 19:17:51 UTC) #1
matthew.scott
Land as is. Looks good, thanks for the test!
11 years, 2 months ago (2013-02-12 19:33:10 UTC) #2
gary.poster
Land with changes. Good to have. Thank you! Gary https://codereview.appspot.com/7306095/diff/1/test/test_environment_view.js File test/test_environment_view.js (right): https://codereview.appspot.com/7306095/diff/1/test/test_environment_view.js#newcode942 test/test_environment_view.js:942: ...
11 years, 2 months ago (2013-02-12 21:17:27 UTC) #3
bac
Thanks for the reviews. Changes incorporated. https://codereview.appspot.com/7306095/diff/1/test/test_environment_view.js File test/test_environment_view.js (right): https://codereview.appspot.com/7306095/diff/1/test/test_environment_view.js#newcode942 test/test_environment_view.js:942: assert.equal(existing.haproxy, 2); On ...
11 years, 2 months ago (2013-02-12 21:30:40 UTC) #4
bac
11 years, 2 months ago (2013-02-12 21:37:47 UTC) #5
*** Submitted:

Add test for destroy service regression.

A recent change fixed a regression that occured when a service was destroyed.
The old service, which was removed from the database, was still in the
service_boxes object.  Code was added to remove services from service_boxes if
it is removed from the database.  This branch adds a unit test for that
functionality.

R=matthew.scott, gary.poster
CC=
https://codereview.appspot.com/7306095
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b