Repository navigation
Conversation
aae3494 to
9686352
Compare
|
A new inspection was created. |
|
@butonic looks like this test has negative side effects on other tests: PHP Fatal error: Call to a member function getOwner() on null in /var/jenkins/workspace/pull-request-analyser-ng-simple/label/SLAVE/lib/private/files/filesystem.php on line 907 |
|
Another idea: what about adding another autotest-primary.sh which fires up a docker container holding swift inside and execute the tests against that? We could add this to jenkins just like our external unit tests: |
|
@DeepDiver1975 yes, docker is an option and I still need to follow up on that ceph container thing for s3. Unfortunately, making this work on travis requires some extra work because docker is not officially supported. |
There was a problem hiding this comment.
Why are these tests overwritten?
Should they also be overwritten for other object store tests?
There was a problem hiding this comment.
The objectstore uses our cache to store metadata. I need to check a few things differently, but would have to look at the diff what exactly...
There was a problem hiding this comment.
oh and actually all objectstore implementatons do that, so yes, alll tests need to overwrite these methods. so we can create a new superclass for these tests, now that a swift and a files implementation exist in core.
This would be outside the scope of travis then but Jenkins only. |
|
@butonic defer to 9.0 ? Any update ? |
|
WIP -> 9.0 |
|
@butonic @icewind1991 do we still need this now that we have the docker instances for testing ? @icewind1991 this PR might also be interesting to test alternative home storage implementations ? |
@butonic can we close this ? We have a docker for this: core-ci-linux-swift-primary-storage/database=mysql,label=SLAVE |
|
Closing this due to lack of feedback. Also as stated above we have CI for the object store using docker. |
|
If not for testing I recommend keeping it around for a future default storage implementation as mentioned in #12097 (comment) |
|
For testing we should maybe use https://minio.io/ - this provides S3 compatible storage based on local files. |
|
If we want to keep it then either we should merge it or move it to an example app ? I'd prefer having this as a separate example app then. |
|
@ownclouders rebase |
|
Hey! This pull request is being rebased automatically. Please DO NOT push while rebase is in progress or your changes would be lost! |
|
Automated rebase failed! Please rebase your pull request manually via the command line. Error: |
|
One does not simply rebase this branch ... |
3090a57 to
111183c
Compare
one does .... |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Currently, the objectstore code is not automatically tested because we lack a swift service for testing. To at least test the ObjectStore class I implemented a file based objectstore. We could also create a separate travis test that uses this objectstore by default. That should reveal any app incompatibilities.
cc @DeepDiver1975 @icewind1991 @PVince81 @MorrisJobke thoughts?