Skip to content

Commit

Permalink
Configure test-retry plugin filter properly
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 <andrross@amazon.com>
  • Loading branch information
andrross committed Jul 27, 2023
1 parent 91bc891 commit c204c63
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 c204c63

Please sign in to comment.