Skip to content

Commit

Permalink
Added few skipped TCs
Browse files Browse the repository at this point in the history
  • Loading branch information
indraniBh committed Sep 12, 2024
1 parent 3b563ed commit ce8579c
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 17 deletions.
10 changes: 5 additions & 5 deletions tests/capture/test_capture_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import dpkt


@pytest.mark.skip(
reason="https://github.com/open-traffic-generator/snappi-ixnetwork/issues/525"
)
# @pytest.mark.skip(
# reason="https://github.com/open-traffic-generator/snappi-ixnetwork/issues/525"
# )
def test_capture_control(api, utils):
"""
The test is to check if capture has control packets included.
Expand Down Expand Up @@ -34,7 +34,7 @@ def test_capture_control(api, utils):

# tx_device config
tx_eth = tx_device.ethernets.add()
tx_eth.port_name = tx.name
tx_eth.connection.port_name = tx.name
tx_eth.name = "tx_eth"
tx_eth.mac = "00:00:00:00:00:aa"
tx_ipv4 = tx_eth.ipv4_addresses.add()
Expand All @@ -54,7 +54,7 @@ def test_capture_control(api, utils):

# rx_device config
rx_eth = rx_device.ethernets.add()
rx_eth.port_name = rx.name
rx_eth.connection.port_name = rx.name
rx_eth.name = "rx_eth"
rx_eth.mac = "00:00:00:00:00:bb"
rx_ipv4 = rx_eth.ipv4_addresses.add()
Expand Down
5 changes: 2 additions & 3 deletions tests/imix/test_imix_predefined_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import time


@pytest.mark.e2e
def test_stats_filter_e2e(api, b2b_raw_config, utils):
"""
configure flows with ipv4 imix
Expand All @@ -25,12 +24,12 @@ def test_stats_filter_e2e(api, b2b_raw_config, utils):

eth1 = d1.ethernets.add()
eth1.name = "eth1"
eth1.port_name = config.ports[0].name
eth1.connection.port_name = config.ports[0].name
eth1.mac = "00:ad:aa:13:11:01"

eth2 = d2.ethernets.add()
eth2.name = "eth2"
eth2.port_name = config.ports[1].name
eth2.connection.port_name = config.ports[1].name
eth2.mac = "00:ad:aa:13:11:02"

ip1 = eth1.ipv4_addresses.add()
Expand Down
4 changes: 2 additions & 2 deletions tests/imix/test_ipv6_imix_predefined_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ def test_stats_filter_e2e(api, b2b_raw_config, utils):

eth1 = d1.ethernets.add()
eth1.name = "eth1"
eth1.port_name = config.ports[0].name
eth1.connection.port_name = config.ports[0].name
eth1.mac = "00:ad:aa:13:11:01"

eth2 = d2.ethernets.add()
eth2.name = "eth2"
eth2.port_name = config.ports[1].name
eth2.connection.port_name = config.ports[1].name
eth2.mac = "00:ad:aa:13:11:02"

ip1 = eth1.ipv4_addresses.add()
Expand Down
5 changes: 2 additions & 3 deletions tests/imix/test_standard_imix_predefined_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import time


@pytest.mark.e2e
def test_stats_filter_e2e(api, b2b_raw_config, utils):
"""
configure flows with ipv4 imix
Expand All @@ -25,12 +24,12 @@ def test_stats_filter_e2e(api, b2b_raw_config, utils):

eth1 = d1.ethernets.add()
eth1.name = "eth1"
eth1.port_name = config.ports[0].name
eth1.connection.port_name = config.ports[0].name
eth1.mac = "00:ad:aa:13:11:01"

eth2 = d2.ethernets.add()
eth2.name = "eth2"
eth2.port_name = config.ports[1].name
eth2.connection.port_name = config.ports[1].name
eth2.mac = "00:ad:aa:13:11:02"

ip1 = eth1.ipv4_addresses.add()
Expand Down
2 changes: 1 addition & 1 deletion tests/tcp/test_counter_tcp_ports_e2e.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest


@pytest.mark.e2e
# @pytest.mark.e2e
def test_list_tcp_ports_e2e(api, utils, b2b_raw_config):
"""
Configure a raw TCP flow with,
Expand Down
2 changes: 1 addition & 1 deletion tests/tcp/test_list_tcp_ports_e2e.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest


@pytest.mark.e2e
# @pytest.mark.e2e
def test_list_tcp_ports_e2e(api, utils, b2b_raw_config):
"""
Configure a raw TCP flow with,
Expand Down
2 changes: 1 addition & 1 deletion tests/udp/test_udp_header_with_counter_e2e.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest


@pytest.mark.e2e
# @pytest.mark.e2e
def test_udp_header_with_counter_e2e(api, b2b_raw_config, utils):
"""
Configure a raw udp flow with,
Expand Down
2 changes: 1 addition & 1 deletion tests/udp/test_udp_header_with_list_e2e.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest


@pytest.mark.e2e
# @pytest.mark.e2e
def test_udp_header_with_list_e2e(api, b2b_raw_config, utils):
"""
Configure a raw udp flow with,
Expand Down

0 comments on commit ce8579c

Please sign in to comment.