mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
52 lines
1.0 KiB
JSON
52 lines
1.0 KiB
JSON
{
|
|
"name": "diagnostics_lifecycle",
|
|
"events": [
|
|
{
|
|
"type": "diagnostics.logRequested",
|
|
"entry": {
|
|
"id": "diag-1",
|
|
"atMs": 1000,
|
|
"level": "info",
|
|
"code": "voice.session.started",
|
|
"message": "Voice session started"
|
|
}
|
|
},
|
|
{"type": "command.succeeded", "operationId": 1, "commandType": "diagnostics.log"},
|
|
{
|
|
"type": "diagnostics.logged",
|
|
"operationId": null,
|
|
"entry": {
|
|
"id": "diag-2",
|
|
"atMs": 1010,
|
|
"level": "warn",
|
|
"code": "voice.stats.delayed",
|
|
"message": "Stats collection was delayed",
|
|
"detail": {"delayMs": 250}
|
|
}
|
|
}
|
|
],
|
|
"expectedCommands": [
|
|
[
|
|
{
|
|
"type": "diagnostics.log",
|
|
"operationId": 1,
|
|
"entry": {
|
|
"id": "diag-1",
|
|
"atMs": 1000,
|
|
"level": "info",
|
|
"code": "voice.session.started",
|
|
"message": "Voice session started"
|
|
}
|
|
}
|
|
],
|
|
[],
|
|
[]
|
|
],
|
|
"expected": {
|
|
"nextOperationId": 2,
|
|
"entryIds": ["diag-1", "diag-2"],
|
|
"lastCode": "voice.stats.delayed",
|
|
"operationStatuses": {"1": "succeeded"}
|
|
}
|
|
}
|