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

initial commit for e2e test for #6229 #6695

Draft
wants to merge 17 commits into
base: main
Choose a base branch
from

Commits on Sep 26, 2024

  1. initial commit for e2e test for antrea-io#6229

    Signed-off-by: Hemant <[email protected]>
    hkiiita committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    ab09340 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. Refactored to remove nginx and include agnHost. Also Updated dig comm…

    …and to use short flag and added annotation update for dns pod to attempt to make configmap changes reflect early.
    
    Signed-off-by: Hemant <[email protected]>
    hkiiita committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    e63de57 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. refactored with changes provided in review

    Signed-off-by: Hemant <[email protected]>
    hkiiita committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    34a0a15 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. fix: update policy build in code to ensure tests run successfully

    - Corrected issues in the policy build
    - Formatted imports for consistency
    - Fixed spelling errors
    
    Signed-off-by: Hemant <[email protected]>
    hkiiita committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    5412d1f View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. used eventual assertions and removed using podwait for running status…

    … of pods.
    
    Signed-off-by: Hemant <[email protected]>
    hkiiita committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    5fe77ef View commit details
    Browse the repository at this point in the history
  2. removed podWaitForIPs where not needed.

    Signed-off-by: Hemant <[email protected]>
    hkiiita committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    0081010 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. added function to annotate pods.

    Signed-off-by: Hemant <[email protected]>
    hkiiita committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    d1a8227 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. Configuration menu
    Copy the full SHA
    e2e5466 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. merge generateCoreFile to createDnsConfig making use of closures.

    assert fqdn ip returned from dns server, for both ipv4 and ipv6.
    usage of EventuallyWithT
    rename buildFqdnPolicy
    removed certain constants.
    
    Signed-off-by: Hemant <[email protected]>
    hkiiita committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    bc91964 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. Removed not needed globally defined constants.

    Removed function to build pod using PodBuilder from framework.go
    Added usage of --dns-server flag in curl command.
    Added additional logic to set DNS ip in resolv.conf.
    
    Signed-off-by: Hemant <[email protected]>
    hkiiita committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    2ef3fd1 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. using pod builder to create toolbox and added some logs for verbosity…

    … while running
    
    Signed-off-by: Hemant <[email protected]>
    hkiiita committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    df67bb5 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. Configuration menu
    Copy the full SHA
    36102ba View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. Made significant changes to the e2e test by improving readability and…

    … maintainability.
    
    Added a AsStrings() function to PodIPs type to return ipv4 and ipv6 addresses as strings.
    
    Signed-off-by: Hemant <[email protected]>
    hkiiita committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    894ff32 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. reduced helper functions

    Signed-off-by: Hemant <[email protected]>
    hkiiita committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    839f690 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. Improved e2e test for FQDN:

    - Added skipIfNotRequired(t, "mode-irrelevant") and used EventuallyWithT in the final step.
    - Allowed passing TTL as a parameter for DNS config.
    - Accomodated other changes as per review.
    
    Signed-off-by: Hemant <[email protected]>
    hkiiita committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    7cd15c7 View commit details
    Browse the repository at this point in the history
  2. corrected initialisms for FQDN, IP

    Signed-off-by: Hemant <[email protected]>
    hkiiita committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    b7c92c0 View commit details
    Browse the repository at this point in the history
  3. Set reload value for dns config and added an explanatory comment besi…

    …des other changes
    
    Signed-off-by: Hemant <[email protected]>
    hkiiita committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    9e76e44 View commit details
    Browse the repository at this point in the history