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

add e2e test for dst-to-src packet capture #7064

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AryanBakliwal
Copy link
Contributor

fixes: #7063

Added e2e test case for DestnationToSource direction of PacketCapture

Tested locally

=== NAME  TestPacketCapture
    fixtures.go:523: Deleting 'testpacketcapture-f6c44b9n' K8s Namespace
I0314 15:14:18.195013    4965 framework.go:882] Deleting Namespace testpacketcapture-f6c44b9n took 3.568209ms
--- PASS: TestPacketCapture (111.84s)
    --- PASS: TestPacketCapture/testPacketCaptureBasic (87.38s)
        --- PASS: TestPacketCapture/testPacketCaptureBasic/testPacketCaptureBasic (0.00s)
            --- PASS: TestPacketCapture/testPacketCaptureBasic/testPacketCaptureBasic/non-existing-pod (1.21s)
            --- PASS: TestPacketCapture/testPacketCaptureBasic/testPacketCaptureBasic/ipv4-tcp-both (3.20s)
            --- PASS: TestPacketCapture/testPacketCaptureBasic/testPacketCaptureBasic/ipv4-tcp (3.60s)
            --- PASS: TestPacketCapture/testPacketCaptureBasic/testPacketCaptureBasic/ipv4-icmp (10.95s)
            --- PASS: TestPacketCapture/testPacketCaptureBasic/testPacketCaptureBasic/ipv4-icmp-timeout (17.78s)
            --- PASS: TestPacketCapture/testPacketCaptureBasic/testPacketCaptureBasic/ipv4-udp (22.95s)
            --- PASS: TestPacketCapture/testPacketCaptureBasic/testPacketCaptureBasic/ipv4-udp-dst-to-src (23.57s)
            --- PASS: TestPacketCapture/testPacketCaptureBasic/testPacketCaptureBasic/invalid-host-public-key (24.30s)
PASS
2025/03/14 15:14:18 Removing empty logs directory '/var/folders/c7/6th_pjdd0333pjvgj2wt5_5c0000gn/T/antrea-test-3067954857'
ok  	antrea.io/antrea/test/e2e

@AryanBakliwal
Copy link
Contributor Author

PTAL @antoninbas @hangyan

Copy link
Contributor

@antoninbas antoninbas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

couple of nits, otherwise LGTM

Copy link
Contributor

@antoninbas antoninbas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@antoninbas
Copy link
Contributor

/test-all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add e2e test case for DestinationToSource direction packet capture
3 participants