Skip to content

Commit

Permalink
[Tests-Only] add upload delete wait time in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dpakach committed Jul 2, 2021
1 parent be18183 commit 0459909
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .drone.env
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 0459909

Please sign in to comment.