Fix CI integration test failures
- Add proxy-body-size annotation to allow unlimited uploads via nginx - Add requires_direct_s3 marker for tests needing direct MinIO access - Exclude requires_direct_s3 tests from CI (can't access MinIO from outside K8s) - Add auto-migration for tag ref_count triggers to ensure they exist
This commit is contained in:
@@ -489,11 +489,15 @@ class TestArtifactIntegrityEndpoint:
|
||||
assert len(response.content) == expected_size
|
||||
|
||||
|
||||
@pytest.mark.requires_direct_s3
|
||||
class TestCorruptionDetection:
|
||||
"""Tests for detecting corrupted S3 objects.
|
||||
|
||||
These tests directly manipulate S3 objects to simulate corruption
|
||||
and verify that the system can detect hash mismatches.
|
||||
|
||||
Note: These tests require direct S3/MinIO access and are skipped in CI
|
||||
where S3 is not directly accessible from the test runner.
|
||||
"""
|
||||
|
||||
@pytest.mark.integration
|
||||
|
||||
Reference in New Issue
Block a user