Skip to content

Commit

Permalink
cnf-tests: change test to use hugepages-allocator
Browse files Browse the repository at this point in the history
Change the test to use the tool
instead of libhugetlbfs library

Signed-off-by: Talor Itzhak <[email protected]>
  • Loading branch information
Tal-or committed Jan 1, 2025
1 parent 8215d2d commit b8df9f2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cnf-tests/testsuites/pkg/pods/pods.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,7 @@ func DefineWithHugePages(namespace, nodeName string) *corev1.Pod {
RedefineWithCommand(
getDefinition(namespace),
[]string{"/bin/bash", "-c",
`tmux new -d 'LD_PRELOAD=libhugetlbfs.so HUGETLB_MORECORE=yes top -b > /dev/null'
sleep INF`}, []string{},
`/usr/bin/hugepages-allocator > /dev/null`}, []string{},
),
corev1.RestartPolicyNever,
)
Expand Down

0 comments on commit b8df9f2

Please sign in to comment.