File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
tests/validation/mtl_engine Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1109,6 +1109,7 @@ def execute_dual_test(
1109
1109
tx_proc = None
1110
1110
# Use RX host for tcpdump capture
1111
1111
tcpdump = prepare_tcpdump (capture_cfg , rx_host )
1112
+ netsniff = prepare_netsniff (capture_cfg , rx_host )
1112
1113
1113
1114
try :
1114
1115
# Start RX pipeline first on RX host
@@ -1139,6 +1140,9 @@ def execute_dual_test(
1139
1140
if tcpdump :
1140
1141
logger .info ("Starting tcpdump capture..." )
1141
1142
tcpdump .capture (capture_time = capture_cfg .get ("capture_time" , test_time ))
1143
+ if netsniff :
1144
+ logger .info ("Starting netsniff capture..." )
1145
+ netsniff .capture (capture_time = capture_cfg .get ("capture_time" , test_time ))
1142
1146
1143
1147
# Let the test run for the specified duration
1144
1148
logger .info (f"Running test for { test_time } seconds..." )
@@ -1208,6 +1212,8 @@ def execute_dual_test(
1208
1212
pass
1209
1213
if tcpdump :
1210
1214
tcpdump .stop ()
1215
+ if netsniff :
1216
+ netsniff .stop ()
1211
1217
passed = False
1212
1218
match output_format :
1213
1219
case "yuv" :
You can’t perform that action at this time.
0 commit comments