mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
[TEST] increase trial license expiry
Original commit: elastic/x-pack-elasticsearch@dff2b30197
This commit is contained in:
parent
57ec891db0
commit
f32d49369c
@ -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()
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user