-
Notifications
You must be signed in to change notification settings - Fork 52
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
remove PortableTemplateBuilder #926
base: master
Are you sure you want to change the base?
Conversation
- adjust MachinePoolPredicates to use Template from jclouds
There was a problem hiding this 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.
} | ||
if (template.getOsNameMatchesRegex()!=null) { |
There was a problem hiding this comment.
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?
@@ -2609,7 +2609,7 @@ protected LoginCredentials waitForSshable( | |||
protected LoginCredentials waitForSshable( | |||
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); |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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.
retest this please |
1 similar comment
retest this please |
@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 |
based on #807