Skip to content

Commit

Permalink
Disable BWC checks. (#130)
Browse files Browse the repository at this point in the history
As part of this PR, we are disabling the BWC checks. Once we have finalized the versions for the fork, we can re-enable it with right configurations.

Relates #105

Signed-off-by: Rabi Panda <pandarab@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
  • Loading branch information
Rabi Panda authored and peternied committed Mar 13, 2021
1 parent a54348b commit a76aaee
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,8 @@ tasks.register("verifyVersions") {
*/

boolean bwc_tests_enabled = false
String bwc_tests_disabled_issue = "" /* place a PR link here when committing bwc changes */
if (project.findProperty("bwc_tests_enabled") != null) {
bwc_tests_enabled = Boolean.parseBoolean(project.findProperty("bwc_tests_enabled"))
bwc_tests_disabled_issue = "Backward compatibility tests disabled via commandline"
}

/* place a PR link here when committing bwc changes */
final String bwc_tests_disabled_issue = "https://github.com/opendistro-for-elasticsearch/search/issues/105"
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

0 comments on commit a76aaee

Please sign in to comment.