feat(core): T-Rex 3.03
[csit.git] / GPL / tools / trex / trex_astf_stop.py
index 7291552..699f4d4 100644 (file)
@@ -44,7 +44,7 @@ import sys
 from collections import OrderedDict  # Needed to parse xstats representation.
 
 sys.path.insert(
-    0, u"/opt/trex-core-2.97/scripts/automation/trex_control_plane/interactive/"
+    0, u"/opt/trex-core-3.03/scripts/automation/trex_control_plane/interactive/"
 )
 from trex.astf.api import ASTFClient
 
@@ -84,7 +84,7 @@ def main():
 
     # If TRexError happens, let the script fail with stack trace.
     finally:
-        client.clear_profile()
+        client.reset()
         client.disconnect()
 
     # TODO: check xstats format