Skip to content

Commit

Permalink
fix REST compat test with test transform
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelandis committed Mar 31, 2021
1 parent 28fcaa3 commit 26ed10b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rest-api-spec/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ tasks.named("yamlRestCompatTest").configure {
// Skip these tests on Windows since the blacklist exceeds Windows CLI limits
OS.current() != OS.WINDOWS
}

systemProperty 'tests.rest.blacklist', [
'bulk/11_basic_with_types/Array of objects',
'bulk/11_basic_with_types/Empty _id',
Expand Down Expand Up @@ -359,6 +360,9 @@ tasks.named("yamlRestCompatTest").configure {
tasks.named("transformV7RestTests").configure({ task ->
task.replaceMatch("_type", "_doc")
task.addAllowedWarningRegex("\\[types removal\\].*")
task.replaceMatch("nodes.\$node_id.roles.1", "data_cold", "node_info role test") //remove once #71084 is backported
task.replaceMatch("nodes.\$node_id.roles.2", "data_content", "node_info role test") //remove once #71084 is backported
task.replaceMatch("nodes.\$node_id.roles.3", "data_frozen", "node_info role test") //remove once #71084 is backported
})

tasks.register('enforceYamlTestConvention').configure {
Expand Down

0 comments on commit 26ed10b

Please sign in to comment.