Skip to content

Commit 4723ced

Browse files
committed
Try higher timeout
1 parent 30793c0 commit 4723ced

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

x-pack/test/alerting_api_integration/spaces_only/tests/alerting/create_test_data.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ export const END_DATE = '2020-01-01T00:00:00Z';
1515
export const DOCUMENT_SOURCE = 'queryDataEndpointTests';
1616
export const DOCUMENT_REFERENCE = '-na-';
1717

18-
export const TEST_CACHE_EXPIRATION_TIME = 10000;
18+
// Higher than the configured yml setting to avoid race conditions
19+
export const TEST_CACHE_EXPIRATION_TIME = 12000;
1920

2021
export async function createEsDocuments(
2122
es: Client,

0 commit comments

Comments
 (0)