Adding start and end timestamp columns in csv (#1128)
* Adding start and end timestamp columns in csv * Adding assert check for the counter timestamps --------- Co-authored-by: Gopesh Bhardwaj <gopesh.bhardwaj@amd.com>
This commit is contained in:
committed by
GitHub
parent
28a6918b33
commit
673c21c6db
@@ -60,6 +60,7 @@ def test_counter_values(input_data):
|
||||
agent = get_agent(agent_id)
|
||||
scaling_factor = get_scaling_factor(agent_id)
|
||||
assert agent is not None, f"itr={itr}\nagent={agent}"
|
||||
assert itr["start_timestamp"] < itr["end_timestamp"]
|
||||
for ritr in itr["records"]:
|
||||
value = ritr["counter_value"]
|
||||
if int(round(value, 0)) > 0:
|
||||
|
||||
Reference in New Issue
Block a user