Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLOUDP-281885: atlas_cleanup_e2e fails #3353

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jeroenvervaeke
Copy link
Collaborator

Proposed changes

The logs indicate that the same key is deleted twice; the second time, it fails because it's already deleted.

Logs

[2024/10/30 22:05:20.169] cleanup_test.go:87: Deleting key with ID: 67226be6c43fdd4259ed21a6
[2024/10/30 22:05:20.169] cleanup_test.go:87: Deleting key with ID: 67226be6c43fdd4259ed21a6
[2024/10/30 22:05:20.252] Error: https://cloud-dev.mongodb.com/api/atlas/v2/orgs/5efda682a3f2ed2e7dd6cde4/apiKeys/67226be6c43fdd4259ed21a6 DELETE: HTTP 400 Bad Request (Error code: "API_KEY_NOT_FOUND") Detail: No API key with ID 67226be6c43fdd4259ed21a6 exists. Reason: Bad Request. Params: [67226be6c43fdd4259ed21a6], BadRequestDetail:

I have changed the code to create a unique list of keys and then delete them.

Jira ticket: CLOUDP-281885

@jeroenvervaeke jeroenvervaeke requested a review from a team as a code owner October 31, 2024 11:05
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.

2 participants