-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[tests-only][full-ci] copy test dependencies from ownCloud/core (stable-2.0) #5306
[tests-only][full-ci] copy test dependencies from ownCloud/core (stable-2.0) #5306
Conversation
789ea02
to
fb42d15
Compare
Note: we will leave this here until next week. Also leave #5280 I would like to double-check that all other test changes have been ported the same into both |
e5076de
to
06d7c51
Compare
Todos:
|
3fb009d
to
a2dfecf
Compare
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
…ests run Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
remove unnecessary script from run.sh
remove oc10 specific test suites provide behat config with make command fix typo add missing helpers
ce314a1
to
998da12
Compare
Changes to notice:
These structures can be discussed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good to me.
if [ "${TEST_OCIS}" != "true" ] && [ "${TEST_REVA}" != "true" ] | ||
then | ||
# We are testing on an ownCloud core server. | ||
# Tell the tests to wait 1 second between each upload/delete action | ||
# to avoid problems with actions that depend on timestamps in seconds. | ||
export UPLOAD_DELETE_WAIT_TIME=1 | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This bit of code might now be useless here in ocis.
But maybe it will be needed (and the if condition modified a bit) if we enable the parallel deployment tests.
So we can leave it here for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the structure is fine for now.
From the .drone.star
file we should be to delete the functions
- cacheCoreReposForTesting
- cloneCoreRepos
I think that these cleanup things can be done in a next PR after we merge this one. For future comparisons, it is probably cleaner to merge all the feature files as direct copies from core. Then delete unneeded stuff separately. That way the deletions will appear in diff listings that can be easily seen.
The core API tests run with these filter tags:
|
The core-api CI pipelines look good - they run suites and scenarios without ever fetching anything from the |
This PR is ready from my side. |
Note: these test suites have not been copied from core: That looks good to me. |
Those are now only used by |
as discussed in the standup meeting, parallel deployment tests are not prio now, so lets delete |
I will push another commit to cleanup. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@individual-it @micbar this is ready for review. We need 2 approvals to merge. I have reviewed the code that was done by @kiranparajuli589 and @saw-jan but I cannot approve because I created the PR. There are many thousands of lines because lots of code and feature files have been copied from |
looks cool |
I suggest that we clean up in another PR - see my comment #5306 (comment) |
yes, sorry. I saw
|
Description
Copy test infrastructure from the oC/core repository
This is a port of #5280 to the
stable-2.0
branch. See discussion in that PR and in the issue for explanation of what is being done.The API tests no longer use anything from
owncloud/core
Related Issue
#5094
How Has This Been Tested?
CI
Types of changes
Checklist: