Skip to content

Conversation

@blva
Copy link
Collaborator

@blva blva commented Sep 4, 2025

Proposed changes

Adds some fixes to snapshot testing

  1. We were trying to clean up more than needed, including our cloud-dev project that contains clusters that shouldn't be deleted. I added them as env variables to the cleanup step.
  2. Missing config in cleanup authentication
  3. Updating telemetry in some profiles

Checklist

  • I have signed the MongoDB CLA
  • I have added tests that prove my fix is effective or that my feature works
  • I have added any necessary documentation in document requirements section listed in CONTRIBUTING.md (if appropriate)
  • I have addressed the @mongodb/docs-cloud-team comments (if appropriate)
  • I have updated test/README.md (if an e2e test has been added)
  • I have run make fmt and formatted my code

Further comments

@blva blva changed the title Cloudp 342259 CLOUDP-342259: Fix snapshot testing Sep 4, 2025
@coveralls
Copy link
Collaborator

coveralls commented Sep 4, 2025

Coverage Status

coverage: 63.889% (-0.06%) from 63.948%
when pulling 4da70f0 on CLOUDP-342259
into 12793a2 on master.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 4, 2025

Failed to update test snapshots.

for _, project := range projects.GetResults() {
projectID := project.GetId()
if projectID == os.Getenv("MONGODB_ATLAS_PROJECT_ID") {
t.Log("skip deleting default project", projectID)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from the logs, we're not detecting this env variable and not skipping the projcect succesfully

@blva blva closed this Sep 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants