increase delay to make sure license refetched (#53882)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
Mikhail Shustov 2020-01-06 12:24:25 +03:00 committed by GitHub
parent 24542c3ad7
commit d64c4cb5fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,7 @@ export default function(ftrContext: FtrProviderContext) {
// this call enforces signature check to detect license update
// and causes license re-fetch
await setup.core.http.get('/');
await testUtils.delay(100);
await testUtils.delay(500);
const licensing: LicensingPluginSetup = setup.plugins.licensing;
licensing.license$.subscribe(license => cb(license.type));
@ -48,7 +48,7 @@ export default function(ftrContext: FtrProviderContext) {
// this call enforces signature check to detect license update
// and causes license re-fetch
await setup.core.http.get('/');
await testUtils.delay(100);
await testUtils.delay(500);
const licensing: LicensingPluginSetup = setup.plugins.licensing;
licensing.license$.subscribe(license => cb(license.type));
@ -64,7 +64,7 @@ export default function(ftrContext: FtrProviderContext) {
// this call enforces signature check to detect license update
// and causes license re-fetch
await setup.core.http.get('/');
await testUtils.delay(100);
await testUtils.delay(500);
const licensing: LicensingPluginSetup = setup.plugins.licensing;
licensing.license$.subscribe(license => cb(license.type));
@ -80,7 +80,7 @@ export default function(ftrContext: FtrProviderContext) {
// this call enforces signature check to detect license update
// and causes license re-fetch
await setup.core.http.get('/');
await testUtils.delay(100);
await testUtils.delay(500);
const licensing: LicensingPluginSetup = setup.plugins.licensing;
licensing.license$.subscribe(license => cb(license.type));