diff options
author | Vratko Polak <vrpolak@cisco.com> | 2022-05-17 15:32:04 +0200 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2022-05-18 04:46:25 +0000 |
commit | 490c20e4d4adde0086cfe4fb7b4509f77a04a728 (patch) | |
tree | 5c8cb9f0b3ae73b369374a3800020c57cf0ba9c2 /GPL/tools/trex/trex_astf_stop.py | |
parent | 5c51731ef45b84c2aab7b16d7daabc63ff2b21e2 (diff) |
fix(trex): use reset instead of clear_profile
Now sure why clear_profile gets stuck with v2.97
(unless block=False), but calling reset() works,
and will be less risky next time we bump TRex version.
- Only ASTF for now.
Change-Id: Ib6906fb8ce269e888bf0e0438d3309931d5e9981
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'GPL/tools/trex/trex_astf_stop.py')
-rw-r--r-- | GPL/tools/trex/trex_astf_stop.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/GPL/tools/trex/trex_astf_stop.py b/GPL/tools/trex/trex_astf_stop.py index 7291552631..9185478a55 100644 --- a/GPL/tools/trex/trex_astf_stop.py +++ b/GPL/tools/trex/trex_astf_stop.py @@ -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 |