mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-07 13:38:49 +00:00
[TEST] test initial call to onDisabled
Original commit: elastic/x-pack-elasticsearch@24d20ff3a0
This commit is contained in:
parent
0fb0f24e36
commit
8705d4d603
@ -51,6 +51,7 @@ public class LicensesClientServiceTests extends AbstractLicensesServiceTests {
|
||||
|
||||
actions.add(registerWithoutTrialLicense(clientService, clientListener, feature));
|
||||
actions.add(generateAndPutSignedLicenseAction(masterLicensesManagerService(), feature, issueDate, TimeValue.timeValueHours(24 * 20)));
|
||||
actions.add(assertExpiryAction(feature, "signed", TimeValue.timeValueSeconds(4)));
|
||||
assertClientListenerNotificationCount(clientListener, actions);
|
||||
assertThat(clientListener.enabled.get(), equalTo(false));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user