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

NC | Online Upgrade | Add nc_upgrade_manager.upgrade_config_dir() unit tests #8645

Merged

Conversation

romayalon
Copy link
Contributor

@romayalon romayalon commented Jan 5, 2025

Explain the changes

  1. Added some more unit tests of upgrade_config_dir() which is the main function in nc_upgrade_manager.js (sort of integration tests for this specific class).

Issues: Fixed #xxx / Gap #xxx

Testing Instructions:

  1. sudo jest --testRegex=jest_tests/test_nc_upgrade_manager.test.js --t "nc upgrade manager - upgrade_config_dir"
  • Doc added/updated
  • Tests added

@romayalon romayalon requested a review from shirady January 5, 2025 16:57
@shirady
Copy link
Contributor

shirady commented Jan 6, 2025

@romayalon could you edit the PR description and use the exact function (upgrade_config_dir instead of config_dir_upgrade - I could find this one...).

@romayalon romayalon changed the title NC | Online Upgrade | Add config_dir_upgrade unit tests NC | Online Upgrade | Add nc_upgrade_manager.upgrade_config_dir() unit tests Jan 7, 2025
@romayalon romayalon force-pushed the romy-add-config-dir-upgrade-tests branch from a20a9a9 to faf4d5f Compare January 7, 2025 10:46
@romayalon romayalon requested a review from shirady January 7, 2025 10:52
@romayalon romayalon force-pushed the romy-add-config-dir-upgrade-tests branch from faf4d5f to f9912a2 Compare January 7, 2025 14:11
@romayalon romayalon requested review from shirady and removed request for shirady January 7, 2025 14:11
@romayalon romayalon force-pushed the romy-add-config-dir-upgrade-tests branch from f9912a2 to 0690d59 Compare January 7, 2025 14:20
@romayalon romayalon requested a review from shirady January 7, 2025 14:20
Copy link
Contributor

@shirady shirady left a comment

Choose a reason for hiding this comment

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

LGTM

@romayalon romayalon force-pushed the romy-add-config-dir-upgrade-tests branch from 0690d59 to e20c6e2 Compare January 9, 2025 09:52
@romayalon romayalon merged commit 65b72cb into noobaa:master Jan 9, 2025
11 checks passed
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