Unit number is increasing in latest juju version.
Sunitha Radharapu
sradhara at in.ibm.com
Fri Nov 13 09:50:15 UTC 2015
Hi,
We have found in juju 1.25.0.1 version that each time service gets
deployed unit number is increased like below.
"service-name/1, service-name/2, service-name/n......"
Earlier juju versions everytime we would deploy unit number would be same
as "service-name/0".
Due to this change our amulet tests are failing since we have hardcoded
unit name as shown below;
def test_case(self):
self.assertTrue(self.d.deployed)
unit_manager_0 = self.d.sentry.unit['ibm-mobilefirst-server/0']
address = unit_manager_0.info['public-address']
Can you please suggest a way to get dynamic unit name while running tests.
Thanks,
Sunitha.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20151113/1deb7ba2/attachment.html>
More information about the Juju
mailing list