Skip to content

Remove MC from Azure Appframework Tests (Phase 2)#1870

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

Remove MC from Azure Appframework Tests (Phase 2)#1870
gabrielm-splunk wants to merge 3 commits intodevelopfrom
remove-mc-azure-gcp-appframework-phase2

Conversation

@gabrielm-splunk
Copy link
Copy Markdown
Collaborator

Phase 2 of MC removal - Azure appframework tests cleaned. 1,129 lines removed across 4 files. All compile successfully. Estimated 2-3 hours test time savings.

@gabrielm-splunk gabrielm-splunk force-pushed the remove-mc-azure-gcp-appframework-phase2 branch from 3c9111c to babfce8 Compare April 23, 2026 20:37
@gabrielm-splunk gabrielm-splunk changed the base branch from main to develop April 23, 2026 20:39
gabrielm-splunk and others added 3 commits April 24, 2026 03:23
Removes unnecessary Monitoring Console deployments from Azure
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 (Azure 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

Files Modified:
✓ test/appframework_az/s1/appframework_azure_test.go - 746 lines removed
✓ test/appframework_az/m4/appframework_azure_test.go - 236 lines removed
✓ test/appframework_az/c3/appframework_azure_test.go - 81 lines removed
✓ test/appframework_az/c3/manager_appframework_azure_test.go - 66 lines removed

Total: 1,129+ lines removed, all files compile successfully

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Removes remaining Monitoring Console code from the Azure M4 manager
appframework test file to fully complete Phase 2.

Changes:
- Remove all MC upload sections (azTestDirMC)
- Remove MC spec creation and deployment calls
- Remove MC verification calls (VerifyMonitoringConsoleReady)
- Remove MC from all app source info arrays
- Update deployment calls to pass empty string for mcRef
- Remove unused corev1 import
- Fix variable declarations

File: test/appframework_az/m4/manager_appframework_azure_test.go
Lines removed: 106 lines (2517 → 2411)
MC references remaining: 0

All Azure files now fully cleaned and compile successfully.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@gabrielm-splunk gabrielm-splunk force-pushed the remove-mc-azure-gcp-appframework-phase2 branch from 931d95a to c2196e2 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