Skip to content

Conversation

@reoring
Copy link
Contributor

@reoring reoring commented May 13, 2025

  • Removed the obsolete mapper_test.go file and replaced it with new tests in subnet_mapper_test.go and poolstatus_mapper_test.go.
  • Added comprehensive test cases for the mapSubnetToParentPool and mapAllocToPool functions, ensuring proper handling of PoolRef and namespace validations.
  • Introduced additional tests for duplicate request suppression in workqueue_dedupe_test.go, verifying the behavior of the workqueue under various conditions.

…us mappers

- Removed the obsolete mapper_test.go file and replaced it with new tests in subnet_mapper_test.go and poolstatus_mapper_test.go.
- Added comprehensive test cases for the mapSubnetToParentPool and mapAllocToPool functions, ensuring proper handling of PoolRef and namespace validations.
- Introduced additional tests for duplicate request suppression in workqueue_dedupe_test.go, verifying the behavior of the workqueue under various conditions.
@reoring reoring merged commit abad31a into main May 14, 2025
3 checks passed
@reoring reoring deleted the refactor-mapper-test branch May 14, 2025 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant