akashic-storage
akashic-storage copied to clipboard
use s3-tests for regression test
There's gonna be three CI tests:
- sbt test
- s3-tests with specified tests
- s3-tests with all tests
1 and 2 shouldn't fail but failing 3 is ok because it's just seeing what tests still are failing.
@akiradeveloper I have a similar S3 implementation, S3Proxy, which uses s3-tests. You can see how I configured it via Travis here:
- https://github.com/andrewgaul/s3proxy/blob/master/.travis.yml
- https://github.com/andrewgaul/s3proxy/blob/master/src/test/resources/run-s3-tests.sh
- https://github.com/andrewgaul/s3-tests/tree/4347002946bbdc25daaea52184d69069fcc3b317
The most important part is creating an s3-tests fork and bringing in a submodule which selectively disables tests:
https://github.com/andrewgaul/s3-tests/commit/4347002946bbdc25daaea52184d69069fcc3b317
Hope this helps!
@andrewgaul Thanks Andrew. My project is doing s3-tests in Travis too and your scripts are similar to mine, but the difference is I didn't fork as you do. My idea is, instead of forking and adding my own annotations within the source code, making a list of tests and giving it to s3-tests' command line. Now I am wondering which is the simpler way.