[tests-only] Adjust tests to better run on PGSQL #38058
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
commits 1,2,3) take the opportunity to let the IDE auto-format the gherkin files. Gets the tables lined-up in scenarios... These are purely cosmetic changes
commit 4) fix PHP doc in TagsContext
commit 5) Make oc:fileid checks more flexible - these scenarios would fail in CI with PGSQL, see #37962 https://drone.owncloud.com/owncloud/core/27379/95/13 - the code was checking for an exactly 10-digit fileid. I made it more flexible to take any length with a-z A-Z 0-9. This should be helpful for other implementations, like different OCIS storages.
commit 6) Do not run Oracle or PostgreSQL as the federated db - installing a 2nd Oracle or PGSQL database in CI is "trouble". Use mariadb in that case. We are not trying to test the particular database on the federated server.
commit 7) Create a separate test suite apiWebdavLocksUnlock - apiWebdavLocks2 had got too many features in it and was taking >1 hour to finish.
How Has This Been Tested?
CI
Types of changes
Checklist: