Skip to content

Commit 16b06f1

Browse files
author
Niranjan M.R
committed
Remove duplicate testlog.infof
Uncomment lines related to saving initialProfile Signed-off-by: Niranjan M.R <[email protected]>
1 parent 3f74812 commit 16b06f1

File tree

1 file changed

+3
-4
lines changed
  • test/e2e/performanceprofile/functests/13_llc

1 file changed

+3
-4
lines changed

test/e2e/performanceprofile/functests/13_llc/llc.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ var _ = Describe("[rfe_id:77446] LLC-aware cpu pinning", Label(string(label.Open
7878

7979
perfProfile, err = profiles.GetByNodeLabels(testutils.NodeSelectorLabels)
8080
Expect(err).ToNot(HaveOccurred())
81-
//initialProfile = perfProfile.DeepCopy()
81+
initialProfile = perfProfile.DeepCopy()
8282

8383
getter, err = cgroup.BuildGetter(ctx, testclient.DataPlaneClient, testclient.K8sClient)
8484
Expect(err).ToNot(HaveOccurred())
@@ -241,13 +241,12 @@ var _ = Describe("[rfe_id:77446] LLC-aware cpu pinning", Label(string(label.Open
241241
Skip("This test requires systems where L3 cache is shared amount subset of cpus")
242242
}
243243
}
244-
testlog.Info("Modifying profile with reserved cpus %s and isolated cpus %s", reserved.String(), isolated.String())
245244
// Modify the profile such that we give 1 whole ccx to reserved cpus
246245
By("Modifying the profile")
247246
isolated = onlineCPUSet.Difference(reserved)
248247
reservedSet := performancev2.CPUSet(reserved.String())
249248
isolatedSet := performancev2.CPUSet(isolated.String())
250-
testlog.Info("Modifying profile with reserved cpus %s and isolated cpus %s", reserved.String(), isolated.String())
249+
testlog.Infof("Modifying profile with reserved cpus %s and isolated cpus %s", reserved.String(), isolated.String())
251250
profile.Spec.CPU = &performancev2.CPU{
252251
Reserved: &reservedSet,
253252
Isolated: &isolatedSet,
@@ -272,7 +271,7 @@ var _ = Describe("[rfe_id:77446] LLC-aware cpu pinning", Label(string(label.Open
272271
})
273272
})
274273

275-
It("[test_id:77725] Align Guaranteed pod requesting L3Cache group size cpus", Label("llc1"), func(ctx context.Context) {
274+
It("[test_id:77725] Align Guaranteed pod requesting L3Cache group size cpus", func(ctx context.Context) {
276275
podLabel := make(map[string]string)
277276
targetNode := workerRTNodes[0]
278277
cpusetCfg := &controller.CpuSet{}

0 commit comments

Comments
 (0)