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

Added additional tests for installer and algo installer #200

Merged

Conversation

georgievaVMW
Copy link
Contributor

Added a fix and a test for PreviewChanges when os/k8s is not supported.
Added test to algo installer to check for rollback when an error occurs mid installation.

Added test to algo installer to check for rollback when an error occurs mid installation.
agent/installer/installer.go Outdated Show resolved Hide resolved
agent/installer/installer_test.go Outdated Show resolved Hide resolved
agent/installer/internal/algo/algo_test.go Outdated Show resolved Hide resolved
agent/installer/internal/algo/algo_test.go Outdated Show resolved Hide resolved
agent/installer/internal/algo/algo_test.go Outdated Show resolved Hide resolved
agent/installer/internal/algo/mock_ubuntu_with_error.go Outdated Show resolved Hide resolved
georgievaVMW and others added 2 commits November 3, 2021 11:41
Made PreviewChanges and its test to check for error.
Implemented mockStep for testing the mockUbuntu and made mockUbuntu to count number of calls for do and undo steps as well as the ability to define which step is with error.
…VMW/cluster-api-provider-bringyourownhost into hainstaller-algo-test-rollback
@georgievaVMW georgievaVMW merged commit 5c06a98 into vmware-tanzu:main Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants