Skip to content

Commit

Permalink
Configure test-retry plugin filter properly (opensearch-project#8933)
Browse files Browse the repository at this point in the history
The intent of opensearch-project#8825 was to retry only specified tests. The wrong
parameter was configured though: ['filter' should be set][1], not
'classRetry'.

[1]: https://github.com/gradle/test-retry-gradle-plugin/blob/main/README.adoc#filtering

Signed-off-by: Andrew Ross <[email protected]>
Signed-off-by: Kaushal Kumar <[email protected]>
  • Loading branch information
andrross authored and kaushalmahi12 committed Sep 12, 2023
1 parent 12740eb commit c3b967e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ subprojects {
maxFailures = 10
}
failOnPassedAfterRetry = false
classRetry {
filter {
includeClasses.add("org.opensearch.action.admin.cluster.node.tasks.ResourceAwareTasksTests")
includeClasses.add("org.opensearch.action.admin.cluster.tasks.PendingTasksBlocksIT")
includeClasses.add("org.opensearch.action.admin.indices.create.CreateIndexIT")
Expand Down

0 comments on commit c3b967e

Please sign in to comment.