diff options
author | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-04-29 23:31:32 +0300 |
---|---|---|
committer | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-04-29 23:31:32 +0300 |
commit | 39aedd8ec2dd0313a097d78046445be11c7bc6d7 (patch) | |
tree | 04ba06706b24d1b1b03a69f9b5488885d050b801 /scripts/automation | |
parent | 849fd28e43bf1b653703f42be03cbb6be9565b4f (diff) |
GA fix for python3
Diffstat (limited to 'scripts/automation')
-rw-r--r-- | scripts/automation/regression/setups/trex25/benchmark.yaml | 18 | ||||
-rwxr-xr-x | scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/GAObjClass.py | 2 |
2 files changed, 11 insertions, 9 deletions
diff --git a/scripts/automation/regression/setups/trex25/benchmark.yaml b/scripts/automation/regression/setups/trex25/benchmark.yaml index 756c1501..8ef7e0c7 100644 --- a/scripts/automation/regression/setups/trex25/benchmark.yaml +++ b/scripts/automation/regression/setups/trex25/benchmark.yaml @@ -179,15 +179,17 @@ test_CPU_benchmark: cpu_util : 1 bw_per_core : 1 - - name : stl/udp_1pkt_simple.py - kwargs : {packet_len: 9000, packet_count: 10} - cpu_util : 1 - bw_per_core : 1 +# problem stabilizing CPU utilization at this setup +# - name : stl/udp_1pkt_simple.py +# kwargs : {packet_len: 9000, packet_count: 10} +# cpu_util : 1 +# bw_per_core : 1 - - name : stl/udp_1pkt_simple.py - kwargs : {packet_len: 9000, packet_count: 100} - cpu_util : 1 - bw_per_core : 1 +# problem stabilizing CPU utilization at this setup +# - name : stl/udp_1pkt_simple.py +# kwargs : {packet_len: 9000, packet_count: 100} +# cpu_util : 1 +# bw_per_core : 1 # not enough memory + queue full if memory increase # - name : stl/udp_1pkt_simple.py diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/GAObjClass.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/GAObjClass.py index 3101b45d..164aae7a 100755 --- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/GAObjClass.py +++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/GAObjClass.py @@ -200,7 +200,7 @@ class GAmanager: # print items
def reportBatched(self,batched):
- req = Request(url_batched, data=batched)
+ req = Request(url_batched, data=batched.encode('ascii'))
urlopen(req)
#requests.post(url_batched,data=batched)
|