-
Notifications
You must be signed in to change notification settings - Fork 91
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
GitHub Actions Test for ci.common 33-SNAPSHOT #1805
Conversation
So are you going to change LMP to use the new constructor that doesn't take all the parameters? |
@@ -394,6 +395,14 @@ protected ServerConfigDocument getServerConfigDocument(CommonLoggerI log, File s | |||
return scd; | |||
} | |||
|
|||
protected ServerConfigDocument getServerConfigDocument(CommonLoggerI log, File serverXML, Map<String, File> libertyDirPropertyFiles) throws IOException { | |||
if (scd == null || !scd.getServerXML().getCanonicalPath().equals(serverXML.getCanonicalPath())) { | |||
scd = new ServerConfigDocument(log, libertyDirPropertyFiles); |
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 is interesting. Is this because of how our tests are setup/run that this is necessary? Also, I see all builds failing. Do you know the cause? I'm not going to dive into the logs at this point and try to figure it out myself.
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.
The tests are passing in latest run, but I would still like to understand this change and why it was necessary.
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 logic was introduced by this PR, which was on the subject of thread safety. I think the move from static makes this piece not necessary.
This was superseded by #1843. |
Constructor for ServerConfigDocument to be deprecated