From f370d270f48e5077f55e5748489575ff9dc5a7d9 Mon Sep 17 00:00:00 2001 From: Prajwol Amatya <83579989+PrajwolAmatya@users.noreply.github.com> Date: Tue, 11 Jul 2023 11:32:58 +0545 Subject: [PATCH] wait for fakeoffice to be ready (#6754) --- .drone.star | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.drone.star b/.drone.star index f5a03ab176..4a312f6a53 100644 --- a/.drone.star +++ b/.drone.star @@ -898,6 +898,13 @@ def wopiValidatorTests(ctx, storage, accounts_hash_difficulty = 4): "sh %s/tests/config/drone/serve-hosting-discovery.sh" % (dirs["base"]), ], }, + { + "name": "wait-for-fakeoffice", + "image": OC_CI_ALPINE, + "commands": [ + "curl -k --fail --retry-connrefused --retry 9 --retry-all-errors 'http://fakeoffice:8080'", + ], + }, ] + ocisServer(storage, accounts_hash_difficulty, [], [], "wopi_validator") + [