Repository navigation
Open
Description
Summary
PR #346 migrates the legacy E2E workflows into the unified Go/Ginkgo suite, but two scenarios from the legacy E2E workflow are not yet covered:
- OTel monitoring sidecar enable/disable.
- PersistentVolume reclaim policy
Deletebehavior.
Origin: #346 (comment)
Legacy scenarios to restore
OTel monitoring sidecar
The legacy test-otel-monitoring.sh path:
- Patches
spec.monitoring.enabled=trueand configures the Prometheus exporter on port9090. - Waits for the DocumentDB pod to contain the
otel-collectorsidecar and for all containers to be ready. - Verifies the
<documentdb-name>-otel-configConfigMap exists. - Port-forwards to the Prometheus exporter and checks
/metricscontainsdocumentdb_postgres_up. - Patches
spec.monitoring.enabled=false. - Verifies the pod returns to the non-sidecar container count and monitoring resources are cleaned up.
PV reclaim policy Delete
The current unified lifecycle suite covers delete behavior for Retain, but not the Delete half from the legacy workflow.
The missing test should:
- Deploy a DocumentDB CR with storage reclaim policy
Delete, or patch the bound PV reclaim policy toDeleteafter the PVC is bound. - Capture the bound PV names.
- Delete the DocumentDB CR.
- Assert the PVs are garbage-collected by the provisioner.
Proposed E2E shape
test/e2e/tests/feature_gates/otel_sidecar_test.go
Add the first real feature-gates spec:
- Create a baseline DocumentDB cluster.
- Patch
spec.monitoring.enabled=truewith Prometheus exporter config. - Wait for
otel-collectorcontainer readiness and ConfigMap creation. - Probe
/metricsthrough a port-forward and assertdocumentdb_postgres_up. - Disable monitoring and assert sidecar/config cleanup.
A small reusable port-forward probe helper would be useful here and for future gateway health checks.
Extend test/e2e/tests/lifecycle/delete_reclaim_test.go
Add a second It for Delete reclaim policy:
- Either add
test/e2e/manifests/mixins/reclaim_delete.yaml.templateor patch the live bound PV toDelete, matching the legacy workflow more closely. - Delete the DocumentDB CR.
- Assert captured PVs eventually return
NotFound.
Definition of Done
-
tests/feature_gatescontains at least one realIt()spec. - OTel spec verifies sidecar presence, ConfigMap presence, metrics output, and cleanup after disable.
- Lifecycle delete suite covers both
RetainandDeletereclaim policies. - Load-bearing capability/env assumptions are documented so skips are intentional and visible.
- Legacy E2E workflow retirement is gated on this coverage existing in the unified E2E suite.
Metadata
Metadata
Assignees
Type
Projects
- StatusShow more project fieldsBacklog
Activity
documentdb-triage-tool commentedon May 30, 2026
👋 @xgerman — this issue has been assigned for 22 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.
documentdb-triage-tool commentedon Jun 13, 2026
👋 @xgerman — this issue has been assigned for 14 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.
documentdb-triage-tool commentedon Jun 28, 2026
👋 @xgerman — this issue has been assigned for 14 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.
documentdb-triage-tool commentedon Jul 13, 2026
👋 @xgerman — this issue has been assigned for 15 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.
documentdb-triage-tool commentedon Jul 28, 2026
👋 @xgerman — this issue has been assigned for 14 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.
documentdb-triage-tool commentedon Aug 12, 2026
👋 @xgerman — this issue has been assigned for 14 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.
documentdb-triage-tool commentedon Aug 27, 2026
👋 @xgerman — this issue has been assigned for 15 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.
documentdb-triage-tool commentedon Sep 11, 2026
👋 @xgerman — this issue has been assigned for 14 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.
documentdb-triage-tool commentedon Sep 25, 2026
👋 @xgerman — this issue has been assigned for 14 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.
documentdb-triage-tool commentedon Oct 9, 2026
👋 @xgerman — this issue has been assigned for 14 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.
documentdb-triage-tool commentedon Oct 28, 2026
👋 @xgerman — this issue has been assigned for 19 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.
documentdb-triage-tool commentedon Nov 11, 2026
👋 @xgerman — this issue has been assigned for 14 days with no activity. Is it still in progress? If you've made progress, please leave a quick update. Otherwise it'll be flagged for re-assignment at the next triage meeting.