From: imarom Date: Wed, 7 Sep 2016 13:20:11 +0000 (+0300) Subject: dual remote - tests missing PCAPs X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=e93473c41701ab308b105f2c9f2cbd0886cfeeaf;p=trex.git dual remote - tests missing PCAPs --- diff --git a/scripts/automation/regression/stateless_tests/stl_client_test.py b/scripts/automation/regression/stateless_tests/stl_client_test.py index 22fd99ed..0d915fdb 100644 --- a/scripts/automation/regression/stateless_tests/stl_client_test.py +++ b/scripts/automation/regression/stateless_tests/stl_client_test.py @@ -327,12 +327,14 @@ class STLClient_Test(CStlGeneral_Test): def test_pcap_remote (self): try: + pcap_file = os.path.join(CTRexScenario.scripts_path, 'automation/regression/test_pcaps/pcap_dual_test.erf') + master = self.tx_port slave = master ^ 0x1 self.c.reset(ports = [master, slave]) self.c.clear_stats() - self.c.push_remote('pcap_dual_test.erf', + self.c.push_remote(pcap_file, ports = [master], ipg_usec = 100, is_dual = True) diff --git a/scripts/automation/regression/test_pcaps/pcap_dual_test.erf b/scripts/automation/regression/test_pcaps/pcap_dual_test.erf new file mode 100644 index 00000000..26b0b6b4 Binary files /dev/null and b/scripts/automation/regression/test_pcaps/pcap_dual_test.erf differ diff --git a/scripts/exp/pcap_remote_dual-0.erf b/scripts/exp/pcap_remote_dual-0.erf new file mode 100644 index 00000000..e93e0e8b Binary files /dev/null and b/scripts/exp/pcap_remote_dual-0.erf differ