Skip to content

Commit

Permalink
[ML] ML BWC tests cannot run against pre-ML versions (#37136)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkyle authored Jan 4, 2019
1 parent c62e022 commit 80aea56
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ private void createTestIndex() throws IOException {
}

public void testMigration() throws Exception {
// v5.5.0 is the first version where ml jobs can be
// retained after upgrade
if (getOldClusterVersion().before(Version.V_5_5_0)) {
return;
}

if (isRunningAgainstOldCluster()) {
createTestIndex();
oldClusterTests();
Expand Down

0 comments on commit 80aea56

Please sign in to comment.