mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-19 14:53:07 +00:00
Merge pull request #1496 from marquiz/devel/fix-e2e
test/e2e: fix broken test
This commit is contained in:
commit
fae0825cae
1 changed files with 6 additions and 4 deletions
|
@ -855,11 +855,13 @@ core:
|
||||||
err = f.ClientSet.AppsV1().DaemonSets(f.Namespace.Name).Delete(ctx, workerDS.Name, metav1.DeleteOptions{})
|
err = f.ClientSet.AppsV1().DaemonSets(f.Namespace.Name).Delete(ctx, workerDS.Name, metav1.DeleteOptions{})
|
||||||
Expect(err).NotTo(HaveOccurred())
|
Expect(err).NotTo(HaveOccurred())
|
||||||
|
|
||||||
|
if useNodeFeatureApi {
|
||||||
By("Verify that labels from nfd-worker are garbage-collected")
|
By("Verify that labels from nfd-worker are garbage-collected")
|
||||||
expectedLabels = map[string]k8sLabels{
|
expectedLabels = map[string]k8sLabels{
|
||||||
"*": {},
|
"*": {},
|
||||||
}
|
}
|
||||||
eventuallyNonControlPlaneNodes(ctx, f.ClientSet).WithTimeout(1 * time.Minute).Should(MatchLabels(expectedLabels, nodes))
|
eventuallyNonControlPlaneNodes(ctx, f.ClientSet).WithTimeout(1 * time.Minute).Should(MatchLabels(expectedLabels, nodes))
|
||||||
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue