Problem
The existing testdata fixtures for validate application and gather application only include profiles that belong to the application. This doesn't test the filtering behavior introduced in the S3 profile fix #503 which we can't tell from the test results.
Proposed solution
Add extra S3 profiles to the hub configmap in the testdata fixtures (profiles not referenced by the VRG). Verify that the report's S3 section only shows the application's profiles, not all profiles from the hub configmap.
Testing
- Validate that the report shows only the 2 application profiles when the hub configmap has 3+.
- Ensure gather only downloads S3 data for the application's profiles.
Problem
The existing testdata fixtures for
validate applicationandgather applicationonly include profiles that belong to the application. This doesn't test the filtering behavior introduced in the S3 profile fix #503 which we can't tell from the test results.Proposed solution
Add extra S3 profiles to the hub configmap in the testdata fixtures (profiles not referenced by the VRG). Verify that the report's S3 section only shows the application's profiles, not all profiles from the hub configmap.
Testing