[QA] Bind the retry to fixup error in it repo tests (#100948)
Verfiied via: https://internal-ci.elastic.co/view/All/job/elastic+integration-test+master/487/
This commit is contained in:
parent
66553681c0
commit
dc5511f73b
|
@ -85,7 +85,7 @@ export default function ({ getService, getPageObjects }) {
|
|||
await putWatcher(watch, id, body, client, log);
|
||||
});
|
||||
it('should be successful and increment revision', async () => {
|
||||
await getWatcher(watch, id, client, log, PageObjects.common, retry.tryForTime);
|
||||
await getWatcher(watch, id, client, log, PageObjects.common, retry.tryForTime.bind(retry));
|
||||
});
|
||||
it('should delete watch and update revision', async () => {
|
||||
await deleteWatcher(watch, id, client, log);
|
||||
|
|
|
@ -79,7 +79,7 @@ export default ({ getService, getPageObjects }) => {
|
|||
await putWatcher(watch, id, body, client, log);
|
||||
});
|
||||
it('should be successful and increment revision', async () => {
|
||||
await getWatcher(watch, id, client, log, PageObjects.common, retry.tryForTime);
|
||||
await getWatcher(watch, id, client, log, PageObjects.common, retry.tryForTime.bind(retry));
|
||||
});
|
||||
it('should delete watch and update revision', async () => {
|
||||
await deleteWatcher(watch, id, client, log);
|
||||
|
|
Loading…
Reference in a new issue