-
Notifications
You must be signed in to change notification settings - Fork 127
chore: stop waiting for cluster deletion #607
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR optimizes test execution speed by modifying cluster deletion behavior to not wait for completion, only sending the deletion command.
Key Changes:
- Replaced
deleteAndWaitCluster
with a newdeleteCluster
function that doesn't wait for deletion to complete - Added eslint disable comment to preserve the original function for potential cleanup script usage
} | ||
} | ||
|
||
async function deleteCluster(session: Session, projectId: string, clusterName: string): Promise<void> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather than creating a new function, consider adding an argument to the existing one that indicates whether to wait for the deletion or not.
Pull Request Test Coverage Report for Build 18192134230Details
💛 - Coveralls |
Proposed changes
Checklist