[TEST] increase trial license expiry

Original commit: elastic/x-pack-elasticsearch@dff2b30197
This commit is contained in:
Areek Zillur 2015-01-23 00:23:58 -05:00
parent 57ec891db0
commit f32d49369c
2 changed files with 1 additions and 5 deletions

View File

@ -26,7 +26,7 @@ public class LicensesPluginIntegrationTests extends AbstractLicensesIntegrationT
private final boolean useEagerLicenseRegistrationPlugin = randomBoolean();
private final int trialLicenseDurationInSeconds = 5;
private final int trialLicenseDurationInSeconds = 7;
protected Settings nodeSettings(int nodeOrdinal) {
return ImmutableSettings.settingsBuilder()

View File

@ -135,15 +135,11 @@ public abstract class TestPluginServiceBase extends AbstractLifecycleComponent<T
@Override
public void onEnabled(License license) {
logger.info("TestConsumerPlugin: " + license.feature() + " enabled");
enabled.set(true);
}
@Override
public void onDisabled(License license) {
if (license != null) {
logger.info("TestConsumerPlugin: " + license.feature() + " disabled");
}
enabled.set(false);
}