blacklist transform tests in mixed cluster prior 7.4 (#48247)

blacklist transform tests in mixed cluster prior 7.4, see #48019

fixes #47943
This commit is contained in:
Hendrik Muhs 2019-10-21 08:19:58 +02:00 committed by GitHub
parent a2217f4a91
commit 4b3a672a0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 12 deletions

View File

@ -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(',')
}
@ -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(',')
}