Skip to content

Commit

Permalink
blacklist transform tests in mixed cluster prior 7.4 (#48247)
Browse files Browse the repository at this point in the history
blacklist transform tests in mixed cluster prior 7.4, see #48019

fixes #47943
  • Loading branch information
Hendrik Muhs authored Oct 21, 2019
1 parent a2217f4 commit 4b3a672
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions x-pack/qa/rolling-upgrade/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,12 @@ for (Version bwcVersion : bwcVersions.wireCompatible) {
'mixed_cluster/80_data_frame_jobs_crud/Test put batch data frame transforms on mixed cluster',
'mixed_cluster/80_data_frame_jobs_crud/Test put continuous data frame transform on mixed cluster'
]
// Dataframe transforms were not added until 7.2.0
if (bwcVersion.before('7.2.0')) {
toBlackList << 'mixed_cluster/80_data_frame_jobs_crud/Test GET, start, and stop old cluster batch transforms'
}
// continuous Dataframe transforms were not added until 7.3.0
if (bwcVersion.before('7.3.0')) {
toBlackList << 'mixed_cluster/80_data_frame_jobs_crud/Test GET, stop, start, old continuous transforms'
// transform in mixed cluster is effectively disabled till 7.4, see gh#48019
if (bwcVersion.before('7.4.0')) {
toBlackList.addAll([
'mixed_cluster/80_data_frame_jobs_crud/Test GET, start, and stop old cluster batch transforms',
'mixed_cluster/80_data_frame_jobs_crud/Test GET, stop, start, old continuous transforms'
])
}
systemProperty 'tests.rest.blacklist', toBlackList.join(',')
}
Expand All @@ -168,16 +167,15 @@ for (Version bwcVersion : bwcVersions.wireCompatible) {
systemProperty 'tests.rest.suite', 'mixed_cluster'
systemProperty 'tests.first_round', 'false'
def toBlackList = []
if (bwcVersion.before('7.2.0')) {
// transform in mixed cluster is effectively disabled till 7.4, see gh#48019
if (bwcVersion.before('7.4.0')) {
toBlackList.addAll([
'mixed_cluster/80_data_frame_jobs_crud/Test put batch data frame transforms on mixed cluster',
'mixed_cluster/80_data_frame_jobs_crud/Test GET, start, and stop old cluster batch transforms',
'mixed_cluster/80_data_frame_jobs_crud/Test put continuous data frame transform on mixed cluster'
'mixed_cluster/80_data_frame_jobs_crud/Test put continuous data frame transform on mixed cluster',
'mixed_cluster/80_data_frame_jobs_crud/Test GET, stop, start, old continuous transforms'
])
}
if (bwcVersion.before('7.3.0')) {
toBlackList << 'mixed_cluster/80_data_frame_jobs_crud/Test GET, stop, start, old continuous transforms'
}
if (!toBlackList.empty) {
systemProperty 'tests.rest.blacklist', toBlackList.join(',')
}
Expand Down

0 comments on commit 4b3a672

Please sign in to comment.