Signed-off-by: Tibor Frank <tifrank@cisco.com>
Change-Id: Ie5162073983646febea5c9a963a0a44a3c1c1dca
test_type = u"HOSTSTACK"
elif test[u"type"] in (u"LDP_NGINX",):
test_type = u"HOSTSTACK"
elif test[u"type"] in (u"LDP_NGINX",):
if u"TCP_CPS" in test[u"tags"]:
test_type = u"VSAP_CPS"
y_vals[test[u"parent"]].append(
if u"TCP_CPS" in test[u"tags"]:
test_type = u"VSAP_CPS"
y_vals[test[u"parent"]].append(
try:
val_max = max(df_y[col])
if val_max:
try:
val_max = max(df_y[col])
if val_max:
- y_max.append(int(val_max / 1e6))
+ if test_type in (u"VSAP_CPS", u"VSAP_RPS"):
+ y_max.append(int(val_max))
+ else:
+ y_max.append(int(val_max / 1e6))
except (ValueError, TypeError) as err:
logging.error(repr(err))
continue
except (ValueError, TypeError) as err:
logging.error(repr(err))
continue
return result, status
status = "PASS"
except (IndexError, ValueError) as err:
return result, status
status = "PASS"
except (IndexError, ValueError) as err:
- logging.info(err)
- logging.info(result)
return result, status
def visit_suite(self, suite):
return result, status
def visit_suite(self, suite):