-
Notifications
You must be signed in to change notification settings - Fork 404
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
pravega test #7357
Comments
Hi @366931, I think that the simplest approach would be just to mimic the existing long-term storage bindings available: https://github.com/pravega/pravega/tree/master/bindings/src/main/java/io/pravega/storage In that package, you will find the bindings for all the storage types supported by Pravega today (ECS, S3, GCP, Azure, FS, HDFS). If you inspect the code, you will find the APIs you will need to fulfill to have a new operational storage binding. Once you have the basic functionality in place, I suggest to have a look to the test classes for the existing bindings: https://github.com/pravega/pravega/tree/master/bindings/src/test/java/io/pravega/storage With these packages as guidelines, you should be able to develop and test a new storage binding. Once you have the tests that validate your binding alone, you can go one step forward and use your new binding in a test for the Pravega Segment Store, like this one: https://github.com/pravega/pravega/blob/0efc2f0b70aa93c65e87ffeb1878356dd145bac3/segmentstore/server/host/src/test/java/io/pravega/segmentstore/server/host/S3IntegrationTest.java Hope it helps. |
Thanks @366931 for your interest in extending Pravega LTS. How to implement
How to test
Hope this helps. Please do not hesitate to ask if you have more questions. looking forward to collaborating with you on extending Pravega LTS |
I'm also having issues with testing,The code I wrote |
Ask your question away
I wrote classes to extend Pravega's secondary storage in order to use other cloud services, but now I don't know how to test whether these classes are successful. Do I need to write a test class, and what should happen if the test class runs successfully?
The text was updated successfully, but these errors were encountered: