Public source validation / validate (push) Failing after 3m8s
44 lines
981 B
JSON
44 lines
981 B
JSON
{
|
|
"schemaVersion": 1,
|
|
"id": "websocket-slow-client",
|
|
"name": "Slow live client",
|
|
"description": "A client cannot consume every live sample.",
|
|
"initialState": {
|
|
"live": {
|
|
"subscriptions": 50,
|
|
"intervalSeconds": 1
|
|
}
|
|
},
|
|
"timeline": [
|
|
{
|
|
"atSeconds": 30,
|
|
"action": "slow-client",
|
|
"payload": {
|
|
"client": "fixture-wallboard",
|
|
"consumeDelayMs": 5000
|
|
}
|
|
},
|
|
{
|
|
"atSeconds": 120,
|
|
"action": "reconnect",
|
|
"payload": {
|
|
"client": "fixture-wallboard"
|
|
}
|
|
}
|
|
],
|
|
"expectedOutcomes": [
|
|
{
|
|
"bySeconds": 60,
|
|
"assertion": "Server coalesces/drops intermediate non-critical samples without unbounded queue growth."
|
|
},
|
|
{
|
|
"bySeconds": 140,
|
|
"assertion": "Client resynchronizes using sequence/status protocol."
|
|
},
|
|
{
|
|
"bySeconds": 180,
|
|
"assertion": "Subscription count returns to expected value with no duplicate streams."
|
|
}
|
|
]
|
|
}
|