chore(test): проверить время истории speed в разных поясах
This commit is contained in:
1 parent
890a5cba09
commit
64bf0b4f6e
8 files changed
+234
-10
No files matched your search
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"date": "2026-10-10",
|
||||
"state": {
|
||||
"runId": "mm-time96-1791570287218",
|
||||
"createdAt": "2026-10-09T18:24:54.576Z",
|
||||
"instant": 1791570294576,
|
||||
"servers": [
|
||||
{
|
||||
"id": 1,
|
||||
"host": "194.226.121.150"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"host": "104.165.244.7"
|
||||
}
|
||||
]
|
||||
},
|
||||
"cases": [
|
||||
{
|
||||
"timezoneId": "UTC",
|
||||
"width": 1280,
|
||||
"expected": "09.10, 18:24:54",
|
||||
"instant": 1791570294576,
|
||||
"apiCreatedAt": "2026-10-09T18:24:54.576Z",
|
||||
"reload": true,
|
||||
"documentFits": true
|
||||
},
|
||||
{
|
||||
"timezoneId": "UTC",
|
||||
"width": 320,
|
||||
"expected": "09.10, 18:24:54",
|
||||
"instant": 1791570294576,
|
||||
"apiCreatedAt": "2026-10-09T18:24:54.576Z",
|
||||
"reload": true,
|
||||
"documentFits": true
|
||||
},
|
||||
{
|
||||
"timezoneId": "Asia/Novosibirsk",
|
||||
"width": 1280,
|
||||
"expected": "10.10, 01:24:54",
|
||||
"instant": 1791570294576,
|
||||
"apiCreatedAt": "2026-10-09T18:24:54.576Z",
|
||||
"reload": true,
|
||||
"documentFits": true
|
||||
},
|
||||
{
|
||||
"timezoneId": "Asia/Novosibirsk",
|
||||
"width": 320,
|
||||
"expected": "10.10, 01:24:54",
|
||||
"instant": 1791570294576,
|
||||
"apiCreatedAt": "2026-10-09T18:24:54.576Z",
|
||||
"reload": true,
|
||||
"documentFits": true
|
||||
},
|
||||
{
|
||||
"timezoneId": "America/Los_Angeles",
|
||||
"width": 1280,
|
||||
"expected": "09.10, 11:24:54",
|
||||
"instant": 1791570294576,
|
||||
"apiCreatedAt": "2026-10-09T18:24:54.576Z",
|
||||
"reload": true,
|
||||
"documentFits": true
|
||||
},
|
||||
{
|
||||
"timezoneId": "America/Los_Angeles",
|
||||
"width": 320,
|
||||
"expected": "09.10, 11:24:54",
|
||||
"instant": 1791570294576,
|
||||
"apiCreatedAt": "2026-10-09T18:24:54.576Z",
|
||||
"reload": true,
|
||||
"documentFits": true
|
||||
}
|
||||
],
|
||||
"errors": [],
|
||||
"httpMocks": false
|
||||
}
|
||||
@@ -0,0 +1,108 @@
|
||||
{
|
||||
"date": "2026-10-10",
|
||||
"runId": "mm-time96-1791570287218",
|
||||
"httpMocks": false,
|
||||
"routerOsMocks": false,
|
||||
"backendTimezone": "UTC",
|
||||
"rateLimitBps": 10000000,
|
||||
"durationSec": 3,
|
||||
"times": {
|
||||
"requestStarted": 1791570287522,
|
||||
"nativeStarted": 1791570287557,
|
||||
"nativeReturned": 1791570291575,
|
||||
"beforeAfterPing": 1791570294577
|
||||
},
|
||||
"receipt": {
|
||||
"createdAt": "2026-10-09T18:24:54.576Z",
|
||||
"runId": "mm-time96-1791570287218",
|
||||
"txAvgMbps": 9.950671999999999,
|
||||
"rxAvgMbps": null,
|
||||
"afterBtPing": {
|
||||
"rttMs": 53,
|
||||
"lossPct": 0,
|
||||
"error": null
|
||||
}
|
||||
},
|
||||
"nativeCount": 1,
|
||||
"sql": [
|
||||
{
|
||||
"id": "mm-time96-1791570287218",
|
||||
"created_at": "2026-10-09T18:24:54.576Z",
|
||||
"status": "done",
|
||||
"tx_avg_mbps": 9.950671999999999,
|
||||
"rx_avg_mbps": null
|
||||
}
|
||||
],
|
||||
"history": {
|
||||
"id": "mm-time96-1791570287218",
|
||||
"probeId": null,
|
||||
"srcServerId": "1",
|
||||
"dstServerId": "2",
|
||||
"srcInterface": "",
|
||||
"dstInterface": "",
|
||||
"protocol": "tcp",
|
||||
"direction": "transmit",
|
||||
"durationSec": 3,
|
||||
"txAvgMbps": 9.950671999999999,
|
||||
"rxAvgMbps": null,
|
||||
"status": "done",
|
||||
"error": null,
|
||||
"createdAt": "2026-10-09T18:24:54.576Z",
|
||||
"srcAddress": "194.226.121.150",
|
||||
"dstAddress": "104.165.244.7",
|
||||
"srcInterfaceAddress": null,
|
||||
"dstInterfaceAddress": null,
|
||||
"afterBtPing": {
|
||||
"rttMs": 53,
|
||||
"lossPct": 0,
|
||||
"error": null
|
||||
}
|
||||
},
|
||||
"createdAtMeaning": "Server instant immediately before after-ping, after native bandwidth response plus 3s wait; not bandwidth start",
|
||||
"cleanupHistoryIdsPreserved": true,
|
||||
"preliminary": [
|
||||
{
|
||||
"date": "2026-10-10",
|
||||
"runId": "mm-time96-1791570041190",
|
||||
"httpMocks": false,
|
||||
"routerOsMocks": false,
|
||||
"backendTimezone": "UTC",
|
||||
"rateLimitBps": 10000000,
|
||||
"durationSec": 3,
|
||||
"error": "Expected values to be strictly equal:\n\n25 !== 0\n",
|
||||
"cleanupHistoryIdsPreserved": true,
|
||||
"explanation": "Unrelated fixture assertion required Ping0%; native/API completed but Ping25% stopped before observer. Own history cleaned."
|
||||
},
|
||||
{
|
||||
"date": "2026-10-10",
|
||||
"runId": "mm-time96-1791570164066",
|
||||
"httpMocks": false,
|
||||
"routerOsMocks": false,
|
||||
"backendTimezone": "UTC",
|
||||
"rateLimitBps": 10000000,
|
||||
"durationSec": 3,
|
||||
"times": {
|
||||
"requestStarted": 1791570164456,
|
||||
"nativeStarted": 1791570164493,
|
||||
"nativeReturned": 1791570168501,
|
||||
"beforeAfterPing": 1791570171506
|
||||
},
|
||||
"receipt": {
|
||||
"createdAt": "2026-10-09T18:22:51.506Z",
|
||||
"runId": "mm-time96-1791570164066",
|
||||
"txAvgMbps": 9.941008,
|
||||
"rxAvgMbps": null,
|
||||
"afterBtPing": {
|
||||
"rttMs": 53,
|
||||
"lossPct": 0,
|
||||
"error": null
|
||||
}
|
||||
},
|
||||
"nativeCount": 1,
|
||||
"error": "Expected values to be strictly equal:\n+ actual - expected\n\n+ 1791570171000\n- 1791570171506\n ^\n",
|
||||
"cleanupHistoryIdsPreserved": true,
|
||||
"explanation": "Fixture used Date.parse on PostgreSQL Date object, string coercion omitted ms. Correct getTime comparison passed in accepted run; product timestamps unchanged."
|
||||
}
|
||||
],
|
||||
"nativeCommandsTotal": 3
|
||||
}
|
||||
Reference in new issue
Block a user