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@709d7a5dc5
This commit is contained in:
Tal Levy 2017-09-25 22:03:46 -07:00 committed by GitHub
parent 7b8d92a2a7
commit 048418aca7
1 changed files with 5 additions and 0 deletions

View File

@ -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\"," + private static final String PLATINUM_LICENSE = "{\"license\":{\"uid\":\"1\",\"type\":\"platinum\"," +
"\"issue_date_in_millis\":1411948800000,\"expiry_date_in_millis\":1914278399999,\"max_nodes\":1," + "\"issue_date_in_millis\":1411948800000,\"expiry_date_in_millis\":1914278399999,\"max_nodes\":1," +
"\"issued_to\":\"issuedTo\",\"issuer\":\"issuer\"," + "\"issued_to\":\"issuedTo\",\"issuer\":\"issuer\"," +