mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +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{})
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
|
||||
By("Verify that labels from nfd-worker are garbage-collected")
|
||||
expectedLabels = map[string]k8sLabels{
|
||||
"*": {},
|
||||
if useNodeFeatureApi {
|
||||
By("Verify that labels from nfd-worker are garbage-collected")
|
||||
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…
Reference in a new issue