Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localhost port tracking: record of port usage not released when entity stops #1434

Open
aledsage opened this issue May 30, 2014 · 0 comments
Labels

Comments

@aledsage
Copy link
Member

See brooklyn.event.basic.PortAttributeSensorAndConfigKeyTest. testStoppingEntityReleasesPortFromMachineForReuse(), which sneaked in at the end of PR #1427.

This fails because when the entity using the port is stopped+unmangaed, nothing calls PortSupplier.releasePort(int) - i.e. nothing calls LocalhostMachine.releasePort(int).

This is very minor.

It does work if it was a LocalhostMachineProvisioningLocation, and the machine is released (which is the much more common use-case).

@aledsage aledsage added the bug label May 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant