node-feature-discovery icon indicating copy to clipboard operation
node-feature-discovery copied to clipboard

test/e2e: add tests for NodeFeatureRules

Open marquiz opened this issue 3 years ago • 5 comments

Add tests covering the basic functionality of NodeFeatureRule objects, covering different feature types ("flag features", "attribute features" and "instance features") as well as backreferencing (using the output of previously run rules) and templating. The test relies on the "fake" feature source and its default configuration.

Fixes: #722

Depends on #845

marquiz avatar Jul 08 '22 11:07 marquiz

Depends on #845

/hold

marquiz avatar Jul 08 '22 11:07 marquiz

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: marquiz

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

k8s-ci-robot avatar Jul 08 '22 11:07 k8s-ci-robot

#845 was merged /unhold

marquiz avatar Aug 10 '22 13:08 marquiz

Need to re-verify this /hold

marquiz avatar Aug 10 '22 14:08 marquiz

Tests passed on manual run /unhold

marquiz avatar Aug 10 '22 17:08 marquiz

ping @ArangoGutierrez @zvonkok

I think we should do smth about this 😉 Especially with #540 and #863 in the works we'd need to have e2e tests to cover them. At least some baseline on top of which to implement new tests

marquiz avatar Sep 05 '22 16:09 marquiz

ping @ArangoGutierrez @zvonkok

marquiz avatar Oct 03 '22 07:10 marquiz

Deploy Preview for kubernetes-sigs-nfd ready!

Name Link
Latest commit 6ef6112d58519d2d4ed663c1b4a4de3353acf5d6
Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-nfd/deploys/63457c8f6a789d0009d5cf46
Deploy Preview https://deploy-preview-848--kubernetes-sigs-nfd.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

netlify[bot] avatar Oct 11 '22 14:10 netlify[bot]

/assign ArangoGutierrez zvonkok

marquiz avatar Oct 11 '22 14:10 marquiz

Rebased in order to incorporate the latest refactoring

marquiz avatar Oct 11 '22 14:10 marquiz

LGTM

fmuyassarov avatar Oct 11 '22 15:10 fmuyassarov

/lgtm works.

zvonkok avatar Oct 12 '22 09:10 zvonkok

ping @zvonkok prow didn't understand the extra parameter to /lgtm 😸

marquiz avatar Oct 13 '22 07:10 marquiz

/lgtm

zvonkok avatar Oct 13 '22 08:10 zvonkok

/doit

zvonkok avatar Oct 13 '22 08:10 zvonkok

/joke

zvonkok avatar Oct 13 '22 08:10 zvonkok

@zvonkok: Why do fish live in salt water? Because pepper makes them sneeze!

In response to this:

/joke

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

k8s-ci-robot avatar Oct 13 '22 08:10 k8s-ci-robot