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

[controller] Data wipe unit tests #128

Merged
merged 31 commits into from
Feb 28, 2025
Merged

[controller] Data wipe unit tests #128

merged 31 commits into from
Feb 28, 2025

Conversation

asergunov
Copy link
Contributor

Description

  • Test for VolumeCleanup function
  • BlockDevice interface to mock it in tests of VolumeCleanup
  • Test for BlockDevice
  • SysCall interface to mock it in BlockDevice tests

Why do we need it, and what problem does it solve?

Another place to describe expected behavior so we will know if it's still works as expexted

What is the expected result?

Test coverage

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

@asergunov asergunov changed the title Data wipe unit tests [Draft] Data wipe unit tests Feb 21, 2025
@asergunov asergunov marked this pull request as draft February 21, 2025 12:36
@asergunov asergunov changed the title [Draft] Data wipe unit tests Data wipe unit tests Feb 21, 2025
@asergunov asergunov changed the base branch from main to add-data-wipe February 21, 2025 12:37
@asergunov asergunov added the enhancement New feature or request label Feb 21, 2025
Base automatically changed from add-data-wipe to main February 25, 2025 08:49
@asergunov asergunov self-assigned this Feb 25, 2025
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
@asergunov asergunov force-pushed the data-wipe-unit-tests branch from 2144bfc to b27d51e Compare February 25, 2025 09:14
@asergunov asergunov marked this pull request as ready for review February 25, 2025 10:05
@AleksZimin AleksZimin changed the title Data wipe unit tests [controller] Data wipe unit tests Feb 28, 2025
@AleksZimin AleksZimin merged commit 5bf6fc7 into main Feb 28, 2025
11 checks passed
@AleksZimin AleksZimin deleted the data-wipe-unit-tests branch February 28, 2025 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants