mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-05 08:17:04 +00:00
Implement a new generic type nodeListPropertyMatcher, a generic Gomega matcher for matching basically any property of a set of node objects. We will be using it for verifying labels, annotations, extended resources and taints for now. This moves the tests in a more Gomega'ish direction, leveraging code re-use and providing way more informative error messages in case of test failures. The patch adds a new eventuallyNonControlPlaneNodes helper assertion for asserting all (non-control-plane) nodes in the cluster, intended to replace the ugly simplePoll() helper function. This patch implements a matcher for node labels and converts tests to use it instead of the old checkForNodeLabels helper function. |
||
---|---|---|
.. | ||
data | ||
e2e |