2024-01-12 10:39:09 +00:00

1 line
6.9 KiB
JSON

{"uid":"1bbf4caebc3ee327","name":"should return the correct number of peers based on numPeers and maxBootstrapPeers","fullName":"/tests/getPeers.spec.ts: getPeers > getPeers property-based tests > should return the correct number of peers based on numPeers and maxBootstrapPeers","historyId":"3f694b98511bc3e2b7e9dc634521f5f4:d41d8cd98f00b204e9800998ecf8427e","time":{"start":1705055704136,"stop":1705055704136,"duration":0},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"afterStages":[{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"labels":[{"name":"package","value":"tests"},{"name":"parentSuite","value":"getPeers"},{"name":"suite","value":"getPeers property-based tests"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":false,"retry":false,"extra":{"severity":"normal","retries":[],"categories":[],"history":{"statistic":{"failed":0,"broken":3,"skipped":0,"passed":14,"unknown":0,"total":17},"items":[{"uid":"db50754782446726","reportUrl":"https://waku-org.github.io/js-waku/6133//#testresult/db50754782446726","status":"passed","time":{"start":1705025200847,"stop":1705025200847,"duration":0}},{"uid":"f1461b93305ceadd","reportUrl":"https://waku-org.github.io/js-waku/6132//#testresult/f1461b93305ceadd","status":"passed","time":{"start":1704987889569,"stop":1704987889570,"duration":1}},{"uid":"1d27d9f763cf4215","reportUrl":"https://waku-org.github.io/js-waku/6131//#testresult/1d27d9f763cf4215","status":"passed","time":{"start":1704982567440,"stop":1704982567441,"duration":1}},{"uid":"d6eee9a51398a615","reportUrl":"https://waku-org.github.io/js-waku/6130//#testresult/d6eee9a51398a615","status":"passed","time":{"start":1704981864422,"stop":1704981864423,"duration":1}},{"uid":"6bbb23ab41482f2c","reportUrl":"https://waku-org.github.io/js-waku/6129//#testresult/6bbb23ab41482f2c","status":"passed","time":{"start":1704980910245,"stop":1704980910246,"duration":1}},{"uid":"b054b037f7bb953b","reportUrl":"https://waku-org.github.io/js-waku/6127//#testresult/b054b037f7bb953b","status":"passed","time":{"start":1704980453047,"stop":1704980453048,"duration":1}},{"uid":"1d3454969b94974d","reportUrl":"https://waku-org.github.io/js-waku/6126//#testresult/1d3454969b94974d","status":"passed","time":{"start":1704979914785,"stop":1704979914785,"duration":0}},{"uid":"701c543935d652d2","reportUrl":"https://waku-org.github.io/js-waku/6123//#testresult/701c543935d652d2","status":"passed","time":{"start":1704974312897,"stop":1704974312897,"duration":0}},{"uid":"d12c37203dfeef9e","reportUrl":"https://waku-org.github.io/js-waku/6122//#testresult/d12c37203dfeef9e","status":"passed","time":{"start":1704973329222,"stop":1704973329223,"duration":1}},{"uid":"980adab75728134d","reportUrl":"https://waku-org.github.io/js-waku/6090//#testresult/980adab75728134d","status":"passed","time":{"start":1704724852047,"stop":1704724852048,"duration":1}},{"uid":"fd7a762ba1221af7","reportUrl":"https://waku-org.github.io/js-waku/6085//#testresult/fd7a762ba1221af7","status":"passed","time":{"start":1704719829486,"stop":1704719829487,"duration":1}},{"uid":"8015f15b357d1f5","reportUrl":"https://waku-org.github.io/js-waku/6084//#testresult/8015f15b357d1f5","status":"broken","statusDetails":"Property failed after 1 tests\n{ seed: 609427172, path: \"0:0:0\", endOnFailure: true }\nCounterexample: [1,0]\nShrunk 2 time(s)\nGot error: No peers found\n at LightPush.getPeers (file:///home/runner/work/js-waku/js-waku/packages/core/src/lib/base_protocol.ts:107:13)\n at async file:///home/runner/work/js-waku/js-waku/packages/tests/tests/getPeers.spec.ts:202:33\n at async AsyncProperty.run (file:///home/runner/work/js-waku/js-waku/node_modules/fast-check/lib/esm/check/property/AsyncProperty.generic.js:46:28)\n at async asyncRunIt (file:///home/runner/work/js-waku/js-waku/node_modules/fast-check/lib/esm/check/runner/Runner.js:33:21)\n at async Context.<anonymous> (file:///home/runner/work/js-waku/js-waku/packages/tests/tests/getPeers.spec.ts:197:13)\n\nEncountered failures were:\n- [11,34]\n- [1,34]\n- [1,0]","time":{"start":1704717857741,"stop":1704717857742,"duration":1}},{"uid":"6c324871b9bbc8ad","reportUrl":"https://waku-org.github.io/js-waku/6083//#testresult/6c324871b9bbc8ad","status":"broken","statusDetails":"Property failed after 1 tests\n{ seed: 1555261143, path: \"0:0:0\", endOnFailure: true }\nCounterexample: [1,0]\nShrunk 2 time(s)\nGot error: No peers found\n at LightPush.getPeers (file:///home/runner/work/js-waku/js-waku/packages/core/src/lib/base_protocol.ts:107:13)\n at async file:///home/runner/work/js-waku/js-waku/packages/tests/tests/getPeers.spec.ts:202:33\n at async AsyncProperty.run (file:///home/runner/work/js-waku/js-waku/node_modules/fast-check/lib/esm/check/property/AsyncProperty.generic.js:46:28)\n at async asyncRunIt (file:///home/runner/work/js-waku/js-waku/node_modules/fast-check/lib/esm/check/runner/Runner.js:33:21)\n at async Context.<anonymous> (file:///home/runner/work/js-waku/js-waku/packages/tests/tests/getPeers.spec.ts:197:13)\n\nEncountered failures were:\n- [31,99]\n- [1,99]\n- [1,0]","time":{"start":1704717673152,"stop":1704717673152,"duration":0}},{"uid":"23aca679d653a1ba","reportUrl":"https://waku-org.github.io/js-waku/6079//#testresult/23aca679d653a1ba","status":"broken","statusDetails":"Property failed after 14 tests\n{ seed: -1587862980, path: \"13:0\", endOnFailure: true }\nCounterexample: [1,0]\nShrunk 1 time(s)\nGot AssertionError: expected +0 to be at least 1\n at file:///home/runner/work/js-waku/js-waku/packages/tests/tests/getPeers.spec.ts:208:49\n at async AsyncProperty.run (file:///home/runner/work/js-waku/js-waku/node_modules/fast-check/lib/esm/check/property/AsyncProperty.generic.js:46:28)\n at async asyncRunIt (file:///home/runner/work/js-waku/js-waku/node_modules/fast-check/lib/esm/check/runner/Runner.js:33:21)\n at async Context.<anonymous> (file:///home/runner/work/js-waku/js-waku/packages/tests/tests/getPeers.spec.ts:197:13)\n\nEncountered failures were:\n- [39,0]\n- [1,0]","time":{"start":1704193634477,"stop":1704193634477,"duration":0}},{"uid":"fa1754efd27dc2f1","reportUrl":"https://waku-org.github.io/js-waku/6072//#testresult/fa1754efd27dc2f1","status":"passed","time":{"start":1704190257180,"stop":1704190257180,"duration":0}},{"uid":"61da4146ca19fe1e","reportUrl":"https://waku-org.github.io/js-waku/6045//#testresult/61da4146ca19fe1e","status":"passed","time":{"start":1703074792203,"stop":1703074792203,"duration":0}}]},"tags":[]},"source":"1bbf4caebc3ee327.json","parameterValues":[]}