fetch_ml/tests/unit
Jeremie Fraeys 16343e6c2a
test(kms): add comprehensive unit and integration tests
Unit tests for DEK cache:
- Put/Get operations, TTL expiry, LRU eviction
- Tenant isolation, flush/clear, stats, empty DEK rejection

Unit tests for KMS protocol:
- Encrypt/decrypt round-trip with MemoryProvider
- Multi-tenant isolation (wrong key fails MAC verification)
- Cache hit verification, key rotation flow
- Health check protocol

Integration tests with testcontainers:
- VaultProvider with hashicorp/vault:1.15 container
- AWSProvider with localstack/localstack container
- TenantKeyManager end-to-end with MemoryProvider
2026-03-03 19:14:31 -05:00
..
api test: Update duplicate detection tests 2026-02-23 14:14:21 -05:00
audit test(all): update test suite for scheduler and security features 2026-02-26 12:08:46 -05:00
auth test(all): update test suite for scheduler and security features 2026-02-26 12:08:46 -05:00
config test(all): update test suite for scheduler and security features 2026-02-26 12:08:46 -05:00
container test(all): update test suite for scheduler and security features 2026-02-26 12:08:46 -05:00
crypto/kms test(kms): add comprehensive unit and integration tests 2026-03-03 19:14:31 -05:00
deployments chore(build): update build system, scripts, and additional tests 2026-02-12 12:05:55 -05:00
envpool test(all): update test suite for scheduler and security features 2026-02-26 12:08:46 -05:00
errors Fix multi-user authentication and clean up debug code 2025-12-06 12:35:32 -05:00
experiment test: expand unit/integration/e2e coverage for new worker/api behavior 2026-01-05 12:31:36 -05:00
gpu test(phase-1-2): naming alignment and partial test completion 2026-02-23 20:25:07 -05:00
jupyter cleanup: Remove obsolete ws_jupyter_errorcode_test.go 2026-02-17 13:45:01 -05:00
logging Fix multi-user authentication and clean up debug code 2025-12-06 12:35:32 -05:00
manifest test(all): update test suite for scheduler and security features 2026-02-26 12:08:46 -05:00
metrics test: expand unit/integration/e2e coverage for new worker/api behavior 2026-01-05 12:31:36 -05:00
middleware test: Reorganize and add unit tests 2026-02-18 21:28:13 -05:00
network Fix multi-user authentication and clean up debug code 2025-12-06 12:35:32 -05:00
privacy test: Reorganize and add unit tests 2026-02-18 21:28:13 -05:00
queue fix: resolve TODOs and standardize tests 2026-02-19 15:34:59 -05:00
reproducibility test(phase-4): reproducibility crossover tests 2026-02-23 20:25:37 -05:00
resources test: expand unit/integration/e2e coverage for new worker/api behavior 2026-01-05 12:31:36 -05:00
scheduler feat: add Plugin GPU Quota implementation and tests 2026-02-26 14:35:05 -05:00
security test(phase-3): prerequisite security and reproducibility tests 2026-02-23 20:25:26 -05:00
storage test: expand unit/integration/e2e coverage for new worker/api behavior 2026-01-05 12:31:36 -05:00
telemetry test: implement comprehensive test suite with multiple test types 2025-12-04 16:55:13 -05:00
worker test(all): update test suite for scheduler and security features 2026-02-26 12:08:46 -05:00
simple_test.go test: expand unit/integration/e2e coverage for new worker/api behavior 2026-01-05 12:31:36 -05:00
worker_trust_test.go test: expand unit/integration/e2e coverage for new worker/api behavior 2026-01-05 12:31:36 -05:00