From 0459909a5b1f017249d792d4663396180b9ca49e Mon Sep 17 00:00:00 2001 From: Dipak Acharya Date: Fri, 2 Jul 2021 10:44:50 +0545 Subject: [PATCH] [Tests-Only] add upload delete wait time in CI --- .drone.env | 2 +- .drone.star | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.drone.env b/.drone.env index 972a09eda4b..a1b9387e8c9 100644 --- a/.drone.env +++ b/.drone.env @@ -1,5 +1,5 @@ # The test runner source for API tests -CORE_COMMITID=b1efa3b591c5fcb8401ab942f9a1abd577ea0051 +CORE_COMMITID=82f26997e3b0d1197c745cd71f498cc69c5a82ea CORE_BRANCH=master # The test runner source for UI tests diff --git a/.drone.star b/.drone.star index 6f8178339f1..1f545229621 100644 --- a/.drone.star +++ b/.drone.star @@ -408,6 +408,7 @@ def localApiTests(ctx, storage = "owncloud", suite = "apiBugDemonstration", acco "BEHAT_SUITE": suite, "BEHAT_FILTER_TAGS": "~@skip&&~@skipOnOcis-%s-Storage" % ("OC" if storage == "owncloud" else "OCIS"), "PATH_TO_CORE": "/srv/app/testrunner", + "UPLOAD_DELETE_WAIT_TIME": "1" if storage == "owncloud" else 0, }, "commands": [ "make test-acceptance-api", @@ -454,6 +455,7 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "owncloud" "DIVIDE_INTO_NUM_PARTS": number_of_parts, "RUN_PART": part_number, "EXPECTED_FAILURES_FILE": "/drone/src/tests/acceptance/expected-failures-API-on-%s-storage.md" % (storage.upper()), + "UPLOAD_DELETE_WAIT_TIME": "1" if storage == "owncloud" else 0, }, "commands": [ "make -C /srv/app/testrunner test-acceptance-api",