diff --git a/test/integration/api/admin/api_spec.js b/test/integration/api/admin/api_spec.js index 16c51060..df7f2d6b 100644 --- a/test/integration/api/admin/api_spec.js +++ b/test/integration/api/admin/api_spec.js @@ -898,10 +898,13 @@ describe("api", function () { }); describe(":ocr", function () { before(async function () { - await uploadImage({ - public_id: PUBLIC_ID_OCR_1, - tags: [TEST_TAG] - }) + this.timeout(TIMEOUT.MEDIUM); + await retry(async function() { + await uploadImage({ + public_id: PUBLIC_ID_OCR_1, + tags: [TEST_TAG] + }); + }); }); it("should support requesting ocr when updating", async function () { if (!shouldTestAddOn(ADDON_OCR)) {