Skip to content

Commit

Permalink
Merge pull request #1348 from owncloud/convert-to-md
Browse files Browse the repository at this point in the history
[Tests-Only] Convert expected failure file to markdown
  • Loading branch information
haribhandari07 authored Jan 21, 2021
2 parents 1a857e4 + c4d4e53 commit e51223b
Show file tree
Hide file tree
Showing 10 changed files with 5,907 additions and 6,178 deletions.
4 changes: 2 additions & 2 deletions .drone.env
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# The test runner source for API tests
CORE_COMMITID=d981678b105ba632bdcb538fdf42e152a6a887da
CORE_COMMITID=35a5eca3a1e15e7e25df2e454e877fad048d6d25
CORE_BRANCH=master

# The test runner source for UI tests
WEB_COMMITID=c2acb0a70024c78c6defc132e3a3b3e5c7d51285
WEB_COMMITID=2aab6025e5507b3d95cca5912ca53fc482563e95
WEB_BRANCH=master
2 changes: 1 addition & 1 deletion .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = 'owncloud'
'BEHAT_FILTER_TAGS': '~@notToImplementOnOCIS&&~@toImplementOnOCIS&&~comments-app-required&&~@federation-app-required&&~@notifications-app-required&&~systemtags-app-required&&~@local_storage&&~@skipOnOcis-%s-Storage' % ('OC' if storage == 'owncloud' else 'OCIS'),
'DIVIDE_INTO_NUM_PARTS': number_of_parts,
'RUN_PART': part_number,
'EXPECTED_FAILURES_FILE': '/drone/src/tests/acceptance/expected-failures-API-on-%s-storage.txt' % (storage.upper()),
'EXPECTED_FAILURES_FILE': '/drone/src/tests/acceptance/expected-failures-API-on-%s-storage.md' % (storage.upper()),
},
'commands': [
'make -C /srv/app/testrunner test-acceptance-api',
Expand Down
4 changes: 2 additions & 2 deletions tests/acceptance/docker/src/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ then
export DELETE_USER_DATA_CMD=''
export BEHAT_FILTER_TAGS='~@notToImplementOnOCIS&&~@toImplementOnOCIS&&~comments-app-required&&~@federation-app-required&&~@notifications-app-required&&~systemtags-app-required&&~@local_storage&&~@skipOnOcis-OC-Storage'
export OCIS_SKELETON_STRATEGY='copy'
export EXPECTED_FAILURES_FILE='/drone/src/tests/acceptance/expected-failures-API-on-OWNCLOUD-storage.txt'
export EXPECTED_FAILURES_FILE='/drone/src/tests/acceptance/expected-failures-API-on-OWNCLOUD-storage.md'
elif [ "$STORAGE" = "ocis" ]
then
export OCIS_REVA_DATA_ROOT=''
export DELETE_USER_DATA_CMD='rm -rf /srv/app/tmp/ocis/storage/users/nodes/root/* /srv/app/tmp/ocis/storage/users/nodes/*-*-*-*'
export BEHAT_FILTER_TAGS='~@notToImplementOnOCIS&&~@toImplementOnOCIS&&~comments-app-required&&~@federation-app-required&&~@notifications-app-required&&~systemtags-app-required&&~@local_storage&&~@skipOnOcis-OCIS-Storage'
export OCIS_SKELETON_STRATEGY='upload'
export EXPECTED_FAILURES_FILE='/drone/src/tests/acceptance/expected-failures-API-on-OCIS-storage.txt'
export EXPECTED_FAILURES_FILE='/drone/src/tests/acceptance/expected-failures-API-on-OCIS-storage.md'
else
echo "non existing STORAGE selected"
exit 1
Expand Down
1,105 changes: 1,105 additions & 0 deletions tests/acceptance/expected-failures-API-on-EOS-storage.md

Large diffs are not rendered by default.

1,271 changes: 0 additions & 1,271 deletions tests/acceptance/expected-failures-API-on-EOS-storage.txt

This file was deleted.

2,329 changes: 2,329 additions & 0 deletions tests/acceptance/expected-failures-API-on-OCIS-storage.md

Large diffs are not rendered by default.

Loading

0 comments on commit e51223b

Please sign in to comment.