Skip to content

Remove MC from GCP Appframework Tests (Phase 3)#1872

Draft
gabrielm-splunk wants to merge 3 commits intodevelopfrom
remove-mc-gcp-appframework-phase3
Draft

Remove MC from GCP Appframework Tests (Phase 3)#1872
gabrielm-splunk wants to merge 3 commits intodevelopfrom
remove-mc-gcp-appframework-phase3

Conversation

@gabrielm-splunk
Copy link
Copy Markdown
Collaborator

Phase 3 of MC removal - GCP appframework tests cleaned. 1,117 lines removed across 5 files. All compile successfully. Estimated 2-3 hours test time savings. Completes appframework test cleanup (AWS, Azure, GCP all done).

@gabrielm-splunk gabrielm-splunk force-pushed the remove-mc-gcp-appframework-phase3 branch 2 times, most recently from e602326 to 4d3ac58 Compare April 23, 2026 20:53
@gabrielm-splunk gabrielm-splunk changed the base branch from main to develop April 23, 2026 21:44
@gabrielm-splunk gabrielm-splunk force-pushed the remove-mc-gcp-appframework-phase3 branch from 9f16c66 to 13938eb Compare April 23, 2026 21:46
gabrielm-splunk and others added 3 commits April 24, 2026 03:24
Removes unnecessary Monitoring Console deployments from GCP
appframework test suite (s1, m4, c3). MC is not the test subject
in these tests, just an incidental deployment adding 4-9 minutes
overhead per test.

Changes:
- Remove MC deployment sections (GCS uploads, app framework specs)
- Remove MonitoringConsoleRef from CR specs
- Pass empty string for mcRef parameters in deployment functions
- Remove MC verification calls (VerifyMonitoringConsoleReady)
- Remove MC app source info from verification arrays
- Remove MC pod arrays from verification logic
- Update test comments to remove MC references
- Fix variable declarations (uploadedFiles, err)
- Remove unused corev1 import

Files Modified:
✓ test/appframework_gcp/s1/appframework_gcs_test.go - 299 lines removed
✓ test/appframework_gcp/m4/appframework_gcs_test.go - 219 lines removed
✓ test/appframework_gcp/m4/manager_appframework_test.go - 140 lines removed
✓ test/appframework_gcp/c3/appframework_gcs_test.go - 114 lines removed
✓ test/appframework_gcp/c3/manager_appframework_test.go - 345 lines removed

Total: 1,117 lines removed, all files compile successfully

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Add missing uploadedFiles and err variable declarations that were
causing go vet failures in CI.
- Remove unused corev1 import from appframework_gcs_test.go
- Remove unused corev1 import from manager_appframework_test.go
- Remove all remaining MC code from 3 test functions in manager_appframework_test.go
- Fixes undefined: corev1 errors at lines 843, 1440, 1576

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@gabrielm-splunk gabrielm-splunk force-pushed the remove-mc-gcp-appframework-phase3 branch from 772f74c to c82211f Compare April 24, 2026 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant