-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove ElasticSearch's cache from comparisons
The latest version requires Java 17. The simulator could be special cased to use 17 in an 11 build, but this does not seem worthwhile. Despite users reporting production issues regarding the cache's very poor performance, the Elastic team is not interested in making changes.
- Loading branch information
Showing
17 changed files
with
84 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 0 additions & 54 deletions
54
caffeine/src/jmh/java/com/github/benmanes/caffeine/cache/impl/ElasticSearchCache.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/** | ||
* Configurations for code coverage | ||
*/ | ||
apply plugin: 'com.github.kt3k.coveralls' | ||
apply plugin: 'jacoco' | ||
|
||
def testReport = tasks.register('testReport', TestReport) { | ||
group = 'Build' | ||
description = 'Generates an aggregate test report' | ||
destinationDir = file("${buildDir}/reports/allTests") | ||
} | ||
|
||
subprojects { | ||
apply plugin: 'java-library' | ||
|
||
tasks.withType(Test).configureEach { testTask -> | ||
testReport.configure { | ||
reportOn testTask | ||
} | ||
testTask.dependsOn(jar) | ||
|
||
// ensure tasks don't overwrite the default report directories used by the 'test' task | ||
reports.html.destination = file("${buildDir}/reports/${name}") | ||
reports.junitXml.destination = file("${buildDir}/reports/${name}/results") | ||
binaryResultsDirectory = file("${buildDir}/reports/${name}/results/binary/${name}") | ||
} | ||
} | ||
|
||
// Only report code coverage for projects that are distributed | ||
def coveredProjects = [ 'caffeine', 'guava', 'jcache' ].collect { project(it) } | ||
|
||
tasks.register('jacocoFullReport', JacocoReport) { | ||
group = 'Coverage reports' | ||
description = 'Generates an aggregate report from all subprojects' | ||
|
||
coveredProjects.each { | ||
sourceSets it.sourceSets.main | ||
mustRunAfter it.tasks.withType(Test) | ||
executionData fileTree(it.buildDir.absolutePath).include('jacoco/*.exec') | ||
} | ||
|
||
reports { | ||
html.required = true // human readable | ||
xml.required = true // required by coveralls | ||
} | ||
} | ||
|
||
coveralls { | ||
sourceDirs = coveredProjects.sourceSets.main.allSource.srcDirs.flatten() | ||
jacocoReportPath = "${buildDir}/reports/jacoco/jacocoFullReport/jacocoFullReport.xml" | ||
} | ||
|
||
tasks.named('coveralls').configure { | ||
group = 'Coverage reports' | ||
description = 'Uploads the aggregated coverage report to Coveralls' | ||
|
||
dependsOn jacocoFullReport | ||
onlyIf { System.env.'CI' } | ||
} |
Oops, something went wrong.