Closed
Bug 1178396
Opened 10 years ago
Closed 9 years ago
Create a standalone (cli) plugin unit test exe
Categories
(Cloud Services Graveyard :: Metrics: Pipeline, defect, P3)
Cloud Services Graveyard
Metrics: Pipeline
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: trink, Assigned: trink)
References
Details
(Whiteboard: [rC] [unifiedTelemetry])
The tests should be specified as an array of test objects containing a descriptive name and an array of inputs and outputs (specified as Heka message tables). The inputs will all be passed to process_message and when complete the timer_event will be called and the outputs verified. The tests will also be profiled showing the execution time, maximum memory, instructions, and output size.
e.g.,
{
name = "string concatenation",
inputs = {
{ret = 0, msg = {Logger = "host1", Payload = "string1\n", Fields = {payload_type = "txt"}}},
{ret = 0, msg = {Logger = "host2", Payload = "string2\n", Fields = {payload_type = "txt"}}},
},
outputs = {
{Payload = "string1\nstring2\n", Fields = {payload_type = "txt"}},
}
},
Updated•10 years ago
|
Whiteboard: [rC] [unifiedTelemetry]
Assignee | ||
Comment 1•10 years ago
|
||
Still important but making it unassigned since I am not actively working on it (it will be delayed a week or two by higher priority tasks)
Assignee: mtrinkala → nobody
Updated•10 years ago
|
Iteration: --- → 43.1 - Aug 24
Updated•10 years ago
|
Assignee: nobody → mtrinkala
Iteration: 43.1 - Aug 24 → 43.2 - Sep 7
Priority: P1 → P2
Updated•10 years ago
|
Priority: P2 → P3
Assignee | ||
Comment 2•9 years ago
|
||
This is tracked in a github issue
https://github.com/mozilla-services/hindsight/issues/19
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Updated•7 years ago
|
Product: Cloud Services → Cloud Services Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•