Skip to content

Commit 254f697

Browse files
[Backport 2.x] Generate jacoco report for integTestRemote task (opensearch-project#5050)
Signed-off-by: Craig Perkins <cwperx@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 32968c0 commit 254f697

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.gradle

+3
Original file line numberDiff line numberDiff line change
@@ -846,6 +846,9 @@ task integTestRemote(type: RestIntegTestTask) {
846846
}
847847

848848
integTestRemote.enabled = System.getProperty("tests.rest.cluster") != null
849+
850+
tasks.integTestRemote.finalizedBy(jacocoTestReport) // report is always generated after integration tests run
851+
849852
// should be updated appropriately, when we add integTests in future
850853
integTest.enabled = false
851854

0 commit comments

Comments
 (0)