-
Notifications
You must be signed in to change notification settings - Fork 153
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
Run some tests on Java 11 #299
Conversation
I still don't understand why we had 5 entries in the cache.
.teamcity/settings/extensions.kt
Outdated
@@ -21,6 +21,17 @@ fun ParametrizedWithType.java8Home(os: Os) { | |||
param("env.JAVA_HOME", "%${os.name}.java8.oracle.64bit%") | |||
} |
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.
Do we still need java8Home()
? If so, I think it call through to javaHome()
.
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.
I removed java8Home
.
@@ -7,6 +7,7 @@ fun Project.configureGradleProfilerProject() { | |||
buildType(MacOSJava18) | |||
buildType(WindowsJava18) | |||
buildType(LinuxJava18) | |||
buildType(LinuxJava11) |
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.
I think this would be a good opportunity to rename Java18
to Java8
.
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.
I can do this post-merge, so I still run the tests on my branch. Renaming the object causes a change in the ID in Teamcity, so I can't do this change on a branch.
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.
Done: 53c13e4
@@ -8,18 +10,40 @@ abstract class AbstractProfilerIntegrationTest extends AbstractIntegrationTest { | |||
|
|||
private static int NUMBER_OF_HEADERS = 4 | |||
|
|||
static List<String> supportedOnCurrentJvm(List<String> gradleVersions) { |
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.
How about calling this gradleVersionsSupportedOnCurrentJvm()
?
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.
Renamed.
@@ -1349,7 +1354,7 @@ buildGoal { | |||
def scenarios = file("performance.scenario") | |||
scenarios.text = """ | |||
buildTarget { | |||
versions = ["4.5"] | |||
versions = ["5.2"] |
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.
Why the upgrade here?
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.
Because 4.5 doesn't work with Java 11.
@lptr PTAL! |
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.
LGTM.
This reverts commit 63366db.
No description provided.