The ImageMosaic acceptance tests were failing with 500 errors because they
referenced the old volume mount path /mnt/geoserver_data, which was changed
to /opt/geoserver_data in commit b33a27b9f6.
Changes:
- Update test_imagemosaic.py: Change all file paths from /mnt/ to /opt/
(6 occurrences across all test functions)
- Update acceptance_tests/README.md: Update sample data path documentation
to reflect the /opt/ mount location
The tests use external.imagemosaic REST endpoints to reference files that
must exist at the paths specified. With the old /mnt/ paths, GeoServer
could not find the sample data files, resulting in 500 Internal Server
Error responses.
- Add comprehensive ImageMosaic test coverage: direct directory, manual granules,
empty store workflows, and XML-based store creation
- Fix file path handling: use direct paths instead of file:// URLs for local files
- Update documentation to mention shared mount volume at /mnt/geoserver_data
- Add version testing examples (TAG=2.27.1.0, TAG=2.26.2.0) to README
Tests pass with datadir backend but show limitations with pgconfig backend.
Provides comprehensive test coverage for realistic ImageMosaic workflows.
This reverts commit 9c6e76f869f65d02ccb32fe025cc5c4c3715d77a.
Commit 860e16c87e6f58f2507ca8be762f70a360e16f97 effectively fixes the
issue with the integration tests.
The GeoServerCloud client in acceptance tests was not explicitly passing
authentication credentials, which worked locally but failed in CI environments.
This change explicitly initializes the client with admin/geoserver credentials,
ensuring consistent behavior across all environments.
This fixes 403 Forbidden errors when running acceptance tests in CI.