Commit Graph
3 Commits
Author SHA1 Message Date
Myasnikov Daniil 25537cadd6 [tests] Address review feedback for vm-disk E2E tests
- Add teardown() function for reliable cleanup after each test
- Increase HelmRelease wait timeout from 5s to 30s
- Switch base disk in source.disk test from source.http to source.image
- Remove inline cleanup in favor of teardown

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
2026-04-27 21:05:52 +05:00
Myasnikov DaniilandClaude Opus 4.6 f7c7044602 [tests] Use Alpine for source.disk base instead of Ubuntu noble
The clone step is what this test exercises, not the HTTP import. Ubuntu
noble is ~600MB; Alpine is ~50MB, which cuts CI time without losing
coverage.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
2026-04-27 21:05:52 +05:00
Myasnikov DaniilandClaude Opus 4.6 d8b195c3e7 [tests] Add BATS E2E coverage for vm-disk source.disk and source.image
Follow-up to PR #2258: adds two new @test cases in hack/e2e-apps/vm-disk.bats
covering the new vm-disk clone paths — source.image (golden image from
cozy-public) and source.disk (PVC clone within tenant namespace). Existing
source.http coverage in vminstance.bats is not touched.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
2026-04-27 21:05:52 +05:00