From 0fa330f2d4343cf2cbbff6c6f7ed6854465547ce Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Thu, 26 Oct 2023 23:01:08 +0300 Subject: [PATCH] test/e2e: fix log messages Fix some typos and improve log messages a bit. --- test/e2e/node_feature_discovery_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/e2e/node_feature_discovery_test.go b/test/e2e/node_feature_discovery_test.go index b7bef9938..396b378ea 100644 --- a/test/e2e/node_feature_discovery_test.go +++ b/test/e2e/node_feature_discovery_test.go @@ -790,14 +790,14 @@ core: By("Verifying node annotations from NodeFeatureRules #4") eventuallyNonControlPlaneNodes(ctx, f.ClientSet).Should(MatchAnnotations(expectedAnnotations, nodes)) - By("Verfiying node status capacity from NodeFeatureRules #4") + By("Verifying node status capacity from NodeFeatureRules #4") eventuallyNonControlPlaneNodes(ctx, f.ClientSet).Should(MatchCapacity(expectedCapacity, nodes)) - By("Deleting NodeFeatureRule object") + By("Deleting NodeFeatureRules #4") err = nfdClient.NfdV1alpha1().NodeFeatureRules().Delete(ctx, "e2e-extened-resource-test", metav1.DeleteOptions{}) Expect(err).NotTo(HaveOccurred()) - By("Verfiying node status capacity from NodeFeatureRules #4") + By("Verifying node status capacity from NodeFeatureRules #4 was removed") expectedCapacity = map[string]corev1.ResourceList{"*": {}} delete(expectedAnnotations["*"], "nfd.node.kubernetes.io/extended-resources") eventuallyNonControlPlaneNodes(ctx, f.ClientSet).Should(MatchCapacity(expectedCapacity, nodes))