[v1] tests/nic_single_core_perf: Initalize packet generator
Checks
Context |
Check |
Description |
ci/Intel-dts-suite-test |
warning
|
SKIPPED
|
Commit Message
From: Owen Hilyard <ohilyard@iol.unh.edu>
Call the initialization function for the packet generator to make sure
it is set up properly before trying to use it.
Signed-off-by: Owen Hilyard <ohilyard@iol.unh.edu>
---
tests/TestSuite_nic_single_core_perf.py | 1 +
1 file changed, 1 insertion(+)
Comments
After more testing, it seems like this causes issues for some Nics due to
various compatibility workarounds elsewhere in DTS. I'll submit a v2 once
I've found the root cause and a fix for it.
@@ -89,6 +89,7 @@ class TestNicSingleCorePerf(TestCase):
self.output_path = os.sep.join([cur_path, self.logger.log_path])
# create an instance to set stream field setting
self.pktgen_helper = PacketGeneratorHelper()
+ self.tester.init_ext_gen()
def set_up(self):
"""