@@ -657,7 +657,7 @@ var _ = SIGDescribe("NFD master and worker", func() {
657
657
testpod .SpecWithTolerations (testTolerations ),
658
658
}
659
659
})
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 ) {
661
661
nodes , err := getNonControlPlaneNodes (ctx , f .ClientSet )
662
662
Expect (err ).NotTo (HaveOccurred ())
663
663
@@ -766,9 +766,10 @@ core:
766
766
eventuallyNonControlPlaneNodes (ctx , f .ClientSet ).Should (MatchTaints (expectedTaints , nodes ))
767
767
eventuallyNonControlPlaneNodes (ctx , f .ClientSet ).Should (MatchAnnotations (expectedAnnotations , nodes ))
768
768
769
- By ("Deleting NodeFeatureRule object " )
769
+ By ("Deleting NodeFeatureRule #3 " )
770
770
err = nfdClient .NfdV1alpha1 ().NodeFeatureRules ().Delete (ctx , "e2e-test-3" , metav1.DeleteOptions {})
771
771
Expect (err ).NotTo (HaveOccurred ())
772
+ By ("Verifying taints from NodeFeatureRules #3 were removed" )
772
773
expectedTaints ["*" ] = []corev1.Taint {}
773
774
delete (expectedAnnotations ["*" ], "nfd.node.kubernetes.io/taints" )
774
775
eventuallyNonControlPlaneNodes (ctx , f .ClientSet ).Should (MatchTaints (expectedTaints , nodes ))
0 commit comments