last 24hr count needs to be failures only
we were counting all hits, which sorts things incorrectly Change-Id: I36e3eb03cd4ad8d9ff6a407ebf09eac90d8327ce
This commit is contained in:
parent
972ddf286d
commit
838c3a9040
@ -98,7 +98,7 @@ def main():
|
||||
data.append([ts, fails])
|
||||
# get the last 24 hr count as well, can't wait to have
|
||||
# the pandas code and able to do it that way
|
||||
if ts > (now - (24 * STEP)):
|
||||
if status == "FAILURE" and ts > (now - (24 * STEP)):
|
||||
bug['fails24'] += fails
|
||||
else:
|
||||
data.append([ts, 0])
|
||||
|
Loading…
x
Reference in New Issue
Block a user