From 3af4fe8c9b6e6f5476c9499f02f2f6553934e4f1 Mon Sep 17 00:00:00 2001 From: David Porter Date: Thu, 22 Jul 2021 01:08:36 -0700 Subject: [PATCH] Use pointer gomega comparison for UsageNanoCores --- test/e2e_node/summary_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e_node/summary_test.go b/test/e2e_node/summary_test.go index e05a4ed2a3f..a060349637b 100644 --- a/test/e2e_node/summary_test.go +++ b/test/e2e_node/summary_test.go @@ -95,7 +95,7 @@ var _ = SIGDescribe("Summary API [NodeConformance]", func() { // either 0 or between 10000 and 2e9. // Please refer, https://github.com/kubernetes/kubernetes/pull/95345#discussion_r501630942 // for more information. - "UsageNanoCores": gomega.SatisfyAny(gomega.BeZero(), bounded(10000, 2e9)), + "UsageNanoCores": gomega.SatisfyAny(gstruct.PointTo(gomega.BeZero()), bounded(10000, 2e9)), "UsageCoreNanoSeconds": bounded(10000000, 1e15), }), "Memory": ptrMatchAllFields(gstruct.Fields{