Skip to content

Conversation

@andreaturli
Copy link
Contributor

based on #807

- adjust MachinePoolPredicates to use Template from jclouds
Copy link
Contributor

@rdowner rdowner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @andreaturli - thanks for this. In addition to the specific comments, I have a couple of general ones.

Firstly it looks like some of the tests still needs updates to work with the new jclouds stub provider. Picking one test failure at random, I saw expected [2.1.1.2] but found [144.175.1.21].

Secondly there's quite a few whitespace changes mixed in with "real" changes. It would be helpful if whitespace changes could be moved into a separate commit to ease reviewing. (But this is not a blocker to merging this PR.)

Thanks
Richard.

!template.getOsFamily().equals(m.getOperatingSystem().getFamily())) return false;
!template.getImage().getOperatingSystem().getFamily().equals(m.getOperatingSystem().getFamily())) return false;
}
if (template.getOsNameMatchesRegex()!=null) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This deleted line does not have an equivalent in the new version. Does this mean a potential a change in behaviour?

HostAndPort hostAndPort, Iterable<LoginCredentials> credentialsToTry, ConfigBag setup) {
String waitForSshable = setup.get(WAIT_FOR_SSHABLE);
checkArgument(!"false".equalsIgnoreCase(waitForSshable), "waitForSshable called despite waitForSshable=%s for %s", waitForSshable, hostAndPort);
// checkArgument(!"false".equalsIgnoreCase(waitForSshable), "waitForSshable called despite waitForSshable=%s for %s", waitForSshable, hostAndPort);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please avoid committing commented-out lines of code. Is this line supposed to be deleted, or was it commented out to help debugging?

}

@Test
@Test(enabled = false)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason for disabling this test? If so, please add a comment.

@andreaturli andreaturli changed the title [WIP] remove PortableTemplateBuilder remove PortableTemplateBuilder Feb 3, 2018
@tbouron
Copy link
Member

tbouron commented Jul 24, 2018

retest this please

1 similar comment
@nakomis
Copy link
Contributor

nakomis commented Nov 26, 2019

retest this please

@nakomis
Copy link
Contributor

nakomis commented Nov 26, 2019

@andreaturli @richardcloudsoft Can you take a look at this please to see if it is still relevant, and address the comments above if appropriate

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants