Skip to content

S3 integration tests are never run #1206

Open
@groldan

Description

@groldan

About half the tests for the gwc-aws-s3 blobstore module are integration tests that are never run on Github Actions nor on Jenkins.

mvn verify -o -pl :gwc-aws-s3 2> /dev/null | grep "Tests run" | tail -n 1
[WARNING] Tests run: 54, Failures: 0, Errors: 0, Skipped: 45

This might be due to the difficulty of having an actual AWS S3 bucket to test against. All these tests get ignored and print out a warning message. E.g.:

[INFO] Running org.geowebcache.s3.S3BlobStoreConformanceTest
INFO      org.geowebcache.s3.PropertiesLoader - Loading S3 tests config. File must have keys 'bucket', 'accessKey', and 'secretKey'
WARNING   org.geowebcache.s3.PropertiesLoader - S3 storage config file not found. GWC S3 tests will be ignored. /home/groldan/.gwc_s3_tests.properties
INFO      org.geowebcache.s3.PropertiesLoader - Loading S3 tests config. File must have keys 'bucket', 'accessKey', and 'secretKey'
WARNING   org.geowebcache.s3.PropertiesLoader - S3 storage config file not found. GWC S3 tests will be ignored. /home/groldan/.gwc_s3_tests.properties
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions