Skip to content

Commit

Permalink
gh comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdeal committed Oct 19, 2023
1 parent c9a12de commit 0de6ba7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 1 addition & 4 deletions pkg/providers/launchtemplate/nodeclass_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -747,10 +747,7 @@ var _ = Describe("EC2NodeClass/LaunchTemplates", func() {
})

It("should calculate memory overhead based on eni limited pods when ENI limited", func() {
ctx = settings.ToContext(ctx, test.Settings(test.SettingOptions{
EnableENILimitedPodDensity: lo.ToPtr(true),
}))

ctx = settings.ToContext(ctx, test.Settings())
ctx = options.ToContext(ctx, test.Options(test.OptionsFields{
VMMemoryOverheadPercent: lo.ToPtr[float64](0),
}))
Expand Down
4 changes: 1 addition & 3 deletions pkg/providers/launchtemplate/nodetemplate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -762,9 +762,7 @@ var _ = Describe("NodeTemplate/LaunchTemplates", func() {
})

It("should calculate memory overhead based on eni limited pods when ENI limited", func() {
ctx = settings.ToContext(ctx, test.Settings(test.SettingOptions{
EnableENILimitedPodDensity: lo.ToPtr(true),
}))
ctx = settings.ToContext(ctx, test.Settings())

ctx = options.ToContext(ctx, test.Options(test.OptionsFields{
VMMemoryOverheadPercent: lo.ToPtr[float64](0),
Expand Down

0 comments on commit 0de6ba7

Please sign in to comment.