Skip to content

Commit

Permalink
E2E: Add memory manager sanity test case (#573) (#695)
Browse files Browse the repository at this point in the history
This bug automates https://issues.redhat.com/browse/OCPBUGS-75
Also adds few more test cases.

Scenarios covered:
1. Topology Policy: restricted
1.1 Grouping both numa nodes
1.2 numa nodes of same size with different Hugepages count
2. Topology policy: single-numa-node
2.1 Grouping both numa nodes
3. Topology policy: single-numa-node
3.1 Numa Nodes with different hugepage size

Create structure for memory manager pod

Remove labels and minor typos

Minor fixes

Document TopologyAffinityError reason, minor typo fix

Move the assert of numazones to test cases

minor wrong numaffinity assertion

add more comments for pod definitation

Minor fixes based on reviews

Minor review fixes

Minor fixes: remove the need for fmt.Sprintf




e2e: memorymanager fix: check the hugepage size condition (#693)

Minor if condition fix, earlier it was checking the string
"2mi", but the test cases are setting hugepages requried
in field called hpgSize, which was not used . hence
pod was getting the right hugepages mounted.

Signed-off-by: Niranjan M.R <mrniranjan@redhat.com>
Co-authored-by: Niranjan M.R <mrniranjan@redhat.com>
  • Loading branch information
mrniranjan and Niranjan M.R committed Jul 11, 2023
1 parent 2ac22ef commit 5b4af42
Showing 1 changed file with 851 additions and 0 deletions.

0 comments on commit 5b4af42

Please sign in to comment.