Ping: Fix TypeError without SLA in timeout scenario 39/68039/1
authorDeepanshu Bhatia <deepanshu@voereir.com>
Mon, 13 May 2019 07:22:17 +0000 (12:52 +0530)
committerDeepanshu Bhatia <deepanshu@voereir.com>
Mon, 13 May 2019 07:22:17 +0000 (12:52 +0530)
commit4a28136293a210b9da725c7dc0a5f0eca37370ee
tree4d4f636ada097a45ea53c992d0ea33573ef5b37d
parent9539b3c3bd480d6dcbc37a7eacf44015cced3bb8
Ping: Fix TypeError without SLA in timeout scenario

In case of no SLA association with scenario, when the commands timeout,
stdout is empty and it gives TypeError.
Reverted the condition to the old one which was used before introduction
of verifySLA()

JIRA: YARDSTICK-1618

Change-Id: Ibd86ba7168f26ae5b15c21fd6129cc737a7038db
Signed-off-by: Deepanshu Bhatia <deepanshu@voereir.com>
yardstick/benchmark/scenarios/networking/ping.py
yardstick/tests/unit/benchmark/scenarios/networking/test_ping.py