Commit 25f3f84
committed
Add unit tests for exec_collector.go
Tests cover:
- parseDfOutput: parsing df command output with various formats
- getPVCVolumeMounts: extracting PVC mounts from pod specs
- findMountPointStats: finding df stats for mount points with prefix matching
- Real-world df output parsing from PostgreSQL pods
- CNPG cluster pod volume mount extraction1 parent 9139269 commit 25f3f84
1 file changed
+566
-0
lines changed
0 commit comments