[kbn/es-archiver] fix flaky test (#108143) (#108262)

Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2021-08-11 17:16:39 -04:00 committed by GitHub
parent 3ad2da42aa
commit e792ea93d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,10 +99,8 @@ const testRecords = [
},
];
// FLAKY: https://github.com/elastic/kibana/issues/108043
it.skip('indexes documents using the bulk client helper', async () => {
it('indexes documents using the bulk client helper', async () => {
const client = new MockClient();
client.helpers.bulk.mockImplementation(async () => {});
const progress = new Progress();
const stats = createStats('test', log);
@ -186,11 +184,11 @@ it.skip('indexes documents using the bulk client helper', async () => {
"results": Array [
Object {
"type": "return",
"value": Promise {},
"value": undefined,
},
Object {
"type": "return",
"value": Promise {},
"value": undefined,
},
],
}