Skip to content

Commit

Permalink
Enable BWC tests after backporting token, api key service status change
Browse files Browse the repository at this point in the history
Enable BWC tests after backporting token, api key service status change.
Addressed TODO to update the version to 7.1.0.

Closes elastic#38535
  • Loading branch information
Yogesh Gaikwad committed Feb 14, 2019
1 parent 7b907c1 commit e5ed8df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ task verifyVersions {
* the enabled state of every bwc task. It should be set back to true
* after the backport of the backcompat code is complete.
*/
final boolean bwc_tests_enabled = false
final String bwc_tests_disabled_issue = "https://github.com/elastic/elasticsearch/pull/38687" /* place a PR link here when committing bwc changes */
final boolean bwc_tests_enabled = true
final String bwc_tests_disabled_issue = "" /* place a PR link here when committing bwc changes */
if (bwc_tests_enabled == false) {
if (bwc_tests_disabled_issue.isEmpty()) {
throw new GradleException("bwc_tests_disabled_issue must be set when bwc_tests_enabled == false")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public SecurityFeatureSetUsage(StreamInput in) throws IOException {
realmsUsage = in.readMap();
rolesStoreUsage = in.readMap();
sslUsage = in.readMap();
if (in.getVersion().onOrAfter(Version.V_8_0_0)) { // TODO change the version to V_7_1_0 on backporting
if (in.getVersion().onOrAfter(Version.V_7_1_0)) {
tokenServiceUsage = in.readMap();
apiKeyServiceUsage = in.readMap();
}
Expand Down

0 comments on commit e5ed8df

Please sign in to comment.