diff options
author | 2016-04-03 21:53:51 +0300 | |
---|---|---|
committer | 2016-04-03 21:53:51 +0300 | |
commit | 0eb15b2e851b5f50669633678143c5a1d3a7d95b (patch) | |
tree | 3921c0d4e916a14cc6a189ecfeca0c74035ac4f9 /scripts/automation/trex_control_plane/stf/examples/stf_example.py | |
parent | 684f8b18191ec86df845e4e7cc7ad32222019815 (diff) |
remove timeouts from trex_client pkg tests, filter out 0.1% of highest latencies, increase priority of TRex process
Diffstat (limited to 'scripts/automation/trex_control_plane/stf/examples/stf_example.py')
-rwxr-xr-x | scripts/automation/trex_control_plane/stf/examples/stf_example.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/scripts/automation/trex_control_plane/stf/examples/stf_example.py b/scripts/automation/trex_control_plane/stf/examples/stf_example.py index f6ebffe7..f57435bf 100755 --- a/scripts/automation/trex_control_plane/stf/examples/stf_example.py +++ b/scripts/automation/trex_control_plane/stf/examples/stf_example.py @@ -1,8 +1,9 @@ import argparse import stf_path from trex_stf_lib.trex_client import CTRexClient +from pprint import pprint -# sample TRex stateless run +# sample TRex stateful run # assuming server daemon is running. def minimal_stateful_test(server): @@ -14,9 +15,8 @@ def minimal_stateful_test(server): c = 1, m = 700, f = 'cap2/http_simple.yaml', - d = 5, + d = 30, l = 1000, - trex_development = True, ) print('Sample until end') @@ -36,8 +36,9 @@ def minimal_stateful_test(server): print('CPU utilization:') print(result.get_value_list('trex-global.data.m_cpu_util')) - #print('Dump of *latest* result sample, uncomment to see it all') - #print(result.get_latest_dump()) + #Dump of *latest* result sample, uncomment to see it all + #print('Latest result dump:') + #pprint(result.get_latest_dump()) if __name__ == '__main__': |