Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

e2e: Verify removing partial policy works #717

Merged
merged 4 commits into from
Aug 5, 2024

Commits on Jul 19, 2024

  1. e2e: Move Custom SriovNetworkNodePolicy / Configuration to its ow…

    …n file
    
    To improve readability, reduce the sizeof `test_sriov_operator.go` by moving part of the
    test cases to a different file.
    It's important to keep the same test name, which are composed by the combination of each
    parent `Context`/`Describe`/`It` clause.
    
    Signed-off-by: Andrea Panattoni <apanatto@redhat.com>
    zeeke committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    1a72b7a View commit details
    Browse the repository at this point in the history
  2. e2e: Verify removing partial policy works

    Add an end-to-end test to verify removing a partial
    SriovNetworkNodePolicy does not trigger any issue in
    the operator's deployment.
    
    Refs:
    - https://issues.redhat.com/browse/OCPBUGS-34934
    - k8snetworkplumbingwg#710
    
    Signed-off-by: Andrea Panattoni <apanatto@redhat.com>
    zeeke committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    6260f1f View commit details
    Browse the repository at this point in the history
  3. e2e: Refactor BeforeAll section

    Move the device discovery and `BeforeAll` checks in the `BeforeSuite`
    section of the test suite.
    
    Signed-off-by: Andrea Panattoni <apanatto@redhat.com>
    zeeke committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    9e1699b View commit details
    Browse the repository at this point in the history
  4. e2e: Refactor to waitForPodRunning

    Signed-off-by: Andrea Panattoni <apanatto@redhat.com>
    zeeke committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    32123e1 View commit details
    Browse the repository at this point in the history