Use fixed size array for serialization (#906)

Co-authored-by: Benjamin Welton <ben@amd.com>
This commit is contained in:
Benjamin Welton
2024-06-05 02:02:01 -07:00
committed by GitHub
parent b0c41827c3
commit 2f3a8b05b3
4 changed files with 26 additions and 11 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ def test_counter_values(input_data):
counter_data = data["buffer_records"]["counter_collection"]
for itr in counter_info:
if itr["is_constant"] == 1 and itr["name"] == "size":
if itr["is_constant"] == 1:
continue
assert itr["id"]["handle"] > 0, f"{itr}"
assert itr["is_constant"] in (0, 1), f"{itr}"