From 2f419272d063a67a67ae4ed04f704b81392ae14f Mon Sep 17 00:00:00 2001 From: prajwol Date: Mon, 10 Jul 2023 16:00:01 +0545 Subject: [PATCH] wait for fakeoffice to be ready --- .drone.star | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.drone.star b/.drone.star index f5a03ab1766..4a312f6a53b 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") + [