akashic-storage icon indicating copy to clipboard operation
akashic-storage copied to clipboard

use s3-tests for regression test

Open akiradeveloper opened this issue 9 years ago • 2 comments

There's gonna be three CI tests:

  1. sbt test
  2. s3-tests with specified tests
  3. 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 avatar Feb 07 '16 23:02 akiradeveloper

@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!

gaul avatar Feb 11 '16 06:02 gaul

@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.

akiradeveloper avatar Feb 25 '16 06:02 akiradeveloper