From 2f7f320e74ccf7c08d878533577baebdbdff6e28 Mon Sep 17 00:00:00 2001 From: Ido Barnea Date: Sun, 27 Nov 2016 15:02:14 +0200 Subject: client config regression Signed-off-by: Ido Barnea --- scripts/automation/trex_control_plane/stf/trex_stf_lib/trex_client.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'scripts/automation/trex_control_plane/stf') diff --git a/scripts/automation/trex_control_plane/stf/trex_stf_lib/trex_client.py b/scripts/automation/trex_control_plane/stf/trex_stf_lib/trex_client.py index e9d2b8a0..5d992c6e 100755 --- a/scripts/automation/trex_control_plane/stf/trex_stf_lib/trex_client.py +++ b/scripts/automation/trex_control_plane/stf/trex_stf_lib/trex_client.py @@ -150,10 +150,8 @@ class CTRexClient(object): user = user or self.__default_user try: d = int(d) - if d < 30 and not trex_development: # test duration should be at least 30 seconds, unless trex_development flag is specified. - raise ValueError except ValueError: - raise ValueError('d parameter must be integer, specifying how long TRex run, and must be larger than 30 secs.') + raise ValueError('d parameter must be integer, specifying how long TRex run.') trex_cmd_options.update( {'f' : f, 'd' : d} ) if not trex_cmd_options.get('l'): -- cgit 1.2.3-korg