From 048418aca71da26bbd5a7b7c6aef82e7d07af11f Mon Sep 17 00:00:00 2001 From: Tal Levy Date: Mon, 25 Sep 2017 22:03:46 -0700 Subject: [PATCH] add dummy test to LicensingTribeIT for build to pass (elastic/x-pack-elasticsearch#2627) The true purpose of this test is to introduce another test alongside the original, so that the test suite passes even if the other test is skipped due to the assumption it makes about `build.snapshot`. Original commit: elastic/x-pack-elasticsearch@709d7a5dc5deb9d9a82a9e48a50e2aa493da83bb --- .../test/java/org/elasticsearch/test/LicensingTribeIT.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qa/tribe-tests-with-license/src/test/java/org/elasticsearch/test/LicensingTribeIT.java b/qa/tribe-tests-with-license/src/test/java/org/elasticsearch/test/LicensingTribeIT.java index c2f46379ebb..d36f09fb786 100644 --- a/qa/tribe-tests-with-license/src/test/java/org/elasticsearch/test/LicensingTribeIT.java +++ b/qa/tribe-tests-with-license/src/test/java/org/elasticsearch/test/LicensingTribeIT.java @@ -145,6 +145,11 @@ public class LicensingTribeIT extends ESIntegTestCase { }); } + public void testDummy() throws Exception { + // this test is here so that testLicensePropagateToTribeNode's assumption + // doesn't result in this test suite to have no tests run and trigger a build failure + } + private static final String PLATINUM_LICENSE = "{\"license\":{\"uid\":\"1\",\"type\":\"platinum\"," + "\"issue_date_in_millis\":1411948800000,\"expiry_date_in_millis\":1914278399999,\"max_nodes\":1," + "\"issued_to\":\"issuedTo\",\"issuer\":\"issuer\"," +