Skip to content

Commit 362691a

Browse files
authored
Merge pull request #1442 from marquiz/devel/e2e-rename
test/e2e: improved test logging
2 parents 053d9ea + f732342 commit 362691a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/e2e/node_feature_discovery_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ var _ = SIGDescribe("NFD master and worker", func() {
657657
testpod.SpecWithTolerations(testTolerations),
658658
}
659659
})
660-
It("custom labels from the NodeFeatureRule rules should be created", func(ctx context.Context) {
660+
It("custom features from the NodeFeatureRule rules should be created", func(ctx context.Context) {
661661
nodes, err := getNonControlPlaneNodes(ctx, f.ClientSet)
662662
Expect(err).NotTo(HaveOccurred())
663663

@@ -766,9 +766,10 @@ core:
766766
eventuallyNonControlPlaneNodes(ctx, f.ClientSet).Should(MatchTaints(expectedTaints, nodes))
767767
eventuallyNonControlPlaneNodes(ctx, f.ClientSet).Should(MatchAnnotations(expectedAnnotations, nodes))
768768

769-
By("Deleting NodeFeatureRule object")
769+
By("Deleting NodeFeatureRule #3")
770770
err = nfdClient.NfdV1alpha1().NodeFeatureRules().Delete(ctx, "e2e-test-3", metav1.DeleteOptions{})
771771
Expect(err).NotTo(HaveOccurred())
772+
By("Verifying taints from NodeFeatureRules #3 were removed")
772773
expectedTaints["*"] = []corev1.Taint{}
773774
delete(expectedAnnotations["*"], "nfd.node.kubernetes.io/taints")
774775
eventuallyNonControlPlaneNodes(ctx, f.ClientSet).Should(MatchTaints(expectedTaints, nodes))

0 commit comments

Comments
 (0)