Skip to content

Commit 746ca48

Browse files
committed
updated sqpoller tests
Signed-off-by: Dinesh Dutt <[email protected]>
1 parent b3a965b commit 746ca48

File tree

12 files changed

+37595
-36392
lines changed

12 files changed

+37595
-36392
lines changed

tests/integration/sqcmds/common-samples/all.yml

Lines changed: 5324 additions & 5183 deletions
Large diffs are not rendered by default.

tests/integration/sqcmds/common-samples/describe.yml

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -584,16 +584,16 @@ tests:
584584
output: '[{"name": "active", "type": "boolean", "key": "", "display": "", "description":
585585
"If this entry is active or deleted"}, {"name": "gatherTime", "type": {"type":
586586
"array", "items": {"type": "float", "name": "time"}}, "key": "", "display": 4,
587-
"description": "[min, max, avg] of time taken to get data, computed over the greater
588-
between the last 5 mins and the polling period"}, {"name": "hostname", "type":
589-
"string", "key": 1, "display": 1, "description": "Hostname associated with this
590-
record"}, {"name": "namespace", "type": "string", "key": 0, "display": 0, "description":
591-
"The namespace associated with this record"}, {"name": "nodeQsize", "type": {"type":
592-
"array", "items": {"type": "float", "name": "nodeQsize"}}, "key": "", "display":
593-
8, "description": "[min, max, avg] of node queue size, computed over the greater
594-
between the last 5 mins and the polling period"}, {"name": "nodesFailedCnt", "type":
595-
"long", "key": "", "display": "", "description": "Number of nodes that could not
596-
be polled"}, {"name": "nodesPolledCnt", "type": "long", "key": "", "display":
587+
"description": "[min, max, avg] of time(ms) taken to get data, computed over the
588+
greater between the last 5 mins and the polling period"}, {"name": "hostname",
589+
"type": "string", "key": 1, "display": 1, "description": "Hostname associated
590+
with this record"}, {"name": "namespace", "type": "string", "key": 0, "display":
591+
0, "description": "The namespace associated with this record"}, {"name": "nodeQsize",
592+
"type": {"type": "array", "items": {"type": "float", "name": "nodeQsize"}}, "key":
593+
"", "display": 8, "description": "[min, max, avg] of node queue length, computed
594+
over the greater between the last 5 mins and the polling period"}, {"name": "nodesFailedCnt",
595+
"type": "long", "key": "", "display": "", "description": "Number of nodes that
596+
could not be polled"}, {"name": "nodesPolledCnt", "type": "long", "key": "", "display":
597597
"", "description": "Number of nodes polled"}, {"name": "pollExcdPeriodCount",
598598
"type": "long", "key": "", "display": 10, "description": "Number of times the
599599
poller has exceeded the poll period"}, {"name": "rxBytes", "type": {"type": "array",
@@ -602,21 +602,23 @@ tests:
602602
and the polling period"}, {"name": "service", "type": "string", "key": 2, "display":
603603
2, "description": "The polled service (a.k.a table) name"}, {"name": "sqvers",
604604
"type": "string", "key": "", "display": "", "description": "Schema version, not
605-
selectable"}, {"name": "status", "type": "long", "key": "", "display": 3, "description":
606-
"Service polling status. 0 or 200 means successfully polled, -1 means time timeout,
607-
other values mean failed to poll"}, {"name": "svcQsize", "type": {"type": "array",
608-
"items": {"type": "float", "name": "svcQsize"}}, "key": "", "display": 6, "description":
609-
"[min, max, avg] of service queue size, computed over the greater between the
610-
last 5 mins and the polling period"}, {"name": "timestamp", "type": "long", "key":
611-
"", "display": 11, "description": "The timestamp of the record"}, {"name": "totalTime",
612-
"type": {"type": "array", "items": {"type": "float", "name": "time"}}, "key":
613-
"", "display": 5, "description": "[min, max, avg] of time taken to get & process
614-
data,computed over the greater between the last 5 mins and the polling period"},
615-
{"name": "version", "type": "string", "key": "", "display": "", "description":
616-
"The suzieq version used to create this record"}, {"name": "wrQsize", "type":
617-
{"type": "array", "items": {"type": "float", "name": "wrQsize"}}, "key": "", "display":
618-
7, "description": "[min, max, avg] of write queue size, computed over the greater
619-
between the last 5 mins and the polling period"}]'
605+
selectable"}, {"name": "status", "type": "long", "key": "", "display": "", "description":
606+
"Service polling status code. 0 or 200 means successfully polled, -1 means time
607+
timeout, other values mean failed to poll"}, {"name": "statusStr", "type": "string",
608+
"key": "", "display": 3, "description": "Service polling status string"}, {"name":
609+
"svcQsize", "type": {"type": "array", "items": {"type": "float", "name": "svcQsize"}},
610+
"key": "", "display": 6, "description": "[min, max, avg] of service queue length,
611+
computed over the greater between the last 5 mins and the polling period"}, {"name":
612+
"timestamp", "type": "long", "key": "", "display": 11, "description": "The timestamp
613+
of the record"}, {"name": "totalTime", "type": {"type": "array", "items": {"type":
614+
"float", "name": "time"}}, "key": "", "display": 5, "description": "[min, max,
615+
avg] of time(ms) taken to get & process data,computed over the greater between
616+
the last 5 mins and the polling period"}, {"name": "version", "type": "string",
617+
"key": "", "display": "", "description": "The suzieq version used to create this
618+
record"}, {"name": "wrQsize", "type": {"type": "array", "items": {"type": "float",
619+
"name": "wrQsize"}}, "key": "", "display": 7, "description": "[min, max, avg]
620+
of write queue length, computed over the greater between the last 5 mins and the
621+
polling period"}]'
620622
- command: table describe --format=json
621623
data-directory: tests/data/parquet
622624
marks: table describe

0 commit comments

Comments
 (0)