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

Issue 6324045: Subordinate port open/close support

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 10 months ago by bcsaller
Modified:
11 years, 10 months ago
Reviewers:
hazmat, mp+111534
Visibility:
Public.

Description

Subordinate port open/close support Subordinates will open ports in their container. They will report open ports on the container and in the subordinate. https://code.launchpad.net/~bcsaller/juju/subordinate-ports/+merge/111534 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 10
Unified diffs Side-by-side diffs Delta from patch set Stats (+197 lines, -2 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
A examples/precise/recorder/hooks/install View 1 chunk +3 lines, -0 lines 0 comments Download
M juju/charm/tests/repository/series/logging/hooks/install View 0 chunks +-1 lines, --1 lines 0 comments Download
M juju/hooks/protocol.py View 2 chunks +15 lines, -0 lines 0 comments Download
M juju/hooks/tests/test_communications.py View 2 chunks +4 lines, -1 line 0 comments Download
M juju/hooks/tests/test_invoker.py View 3 chunks +58 lines, -2 lines 4 comments Download
M juju/state/tests/test_firewall.py View 1 chunk +33 lines, -0 lines 2 comments Download
M juju/state/tests/test_service.py View 2 chunks +83 lines, -0 lines 4 comments Download

Messages

Total messages: 3
bcsaller
Please take a look.
11 years, 10 months ago (2012-06-22 04:26:41 UTC) #1
hazmat
while the implementation LGTM, the tests need fixing. https://codereview.appspot.com/6324045/diff/1/juju/hooks/tests/test_invoker.py File juju/hooks/tests/test_invoker.py (right): https://codereview.appspot.com/6324045/diff/1/juju/hooks/tests/test_invoker.py#newcode37 juju/hooks/tests/test_invoker.py:37: self._invokers ...
11 years, 10 months ago (2012-07-01 02:32:21 UTC) #2
bcsaller
11 years, 10 months ago (2012-07-02 22:29:14 UTC) #3
https://codereview.appspot.com/6324045/diff/1/juju/hooks/tests/test_invoker.py
File juju/hooks/tests/test_invoker.py (right):

https://codereview.appspot.com/6324045/diff/1/juju/hooks/tests/test_invoker.p...
juju/hooks/tests/test_invoker.py:1519: (yield unit_state.get_open_ports()),
On 2012/07/01 02:32:22, hazmat wrote:
> This test never verifies the implementation, namely that the container ports
are
> open.

Right you are, thanks

https://codereview.appspot.com/6324045/diff/1/juju/state/tests/test_firewall.py
File juju/state/tests/test_firewall.py (right):

https://codereview.appspot.com/6324045/diff/1/juju/state/tests/test_firewall....
juju/state/tests/test_firewall.py:192: """
fair enough, removed 

On 2012/07/01 02:32:22, hazmat wrote:
> this test also seems superfluous. the only impl file being modified by the
> branch is the invoker, yet we have tests in numerous state test files
verifying
> what has already been verified by other tests in those files

https://codereview.appspot.com/6324045/diff/1/juju/state/tests/test_service.py
File juju/state/tests/test_service.py (right):

https://codereview.appspot.com/6324045/diff/1/juju/state/tests/test_service.p...
juju/state/tests/test_service.py:2810: self.assertEqual(
On 2012/07/01 02:32:22, hazmat wrote:
> how is this entire test not entirely superfluous?

removed
Sign in to reply to this message.

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