2024-07-25 19:54:58 +00:00

1 line
9.7 KiB
JSON

{"uid":"29dc30d89fbbc549","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":1721936698224,"stop":1721936698224,"duration":0},"status":"broken","statusMessage":"Property failed after 2 tests\n{ seed: 1521295252, path: \"1: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:520: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:509:13)\n\nEncountered failures were:\n- [98,0]\n- [1,0]","statusTrace":"Error: Property failed after 2 tests\n{ seed: 1521295252, path: \"1: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:520: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:509:13)\n\nEncountered failures were:\n- [98,0]\n- [1,0]\n at buildError (file:///home/runner/work/js-waku/js-waku/node_modules/fast-check/lib/esm/check/runner/utils/RunDetailsFormatter.js:126:15)\n at asyncThrowIfFailed (file:///home/runner/work/js-waku/js-waku/node_modules/fast-check/lib/esm/check/runner/utils/RunDetailsFormatter.js:143:11)","flaky":false,"newFailed":false,"newBroken":true,"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},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"before each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"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},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"\"after each\" hook in \"getPeers\"","time":{},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"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":[{"name":"Test defects","matchedStatuses":[],"flaky":false}],"history":{"statistic":{"failed":0,"broken":3,"skipped":0,"passed":15,"unknown":0,"total":18},"items":[{"uid":"fa9bfd1fe80cbd7c","reportUrl":"https://waku-org.github.io/js-waku/7223//#testresult/fa9bfd1fe80cbd7c","status":"passed","time":{"start":1721923828760,"stop":1721923828761,"duration":1}},{"uid":"46e778fd45947fe0","reportUrl":"https://waku-org.github.io/js-waku/7222//#testresult/46e778fd45947fe0","status":"passed","time":{"start":1721917040856,"stop":1721917040857,"duration":1}},{"uid":"30e6d317df369b4b","reportUrl":"https://waku-org.github.io/js-waku/7221//#testresult/30e6d317df369b4b","status":"passed","time":{"start":1721916877076,"stop":1721916877076,"duration":0}},{"uid":"dfd2ed73890acd39","reportUrl":"https://waku-org.github.io/js-waku/7220//#testresult/dfd2ed73890acd39","status":"passed","time":{"start":1721913397010,"stop":1721913397010,"duration":0}},{"uid":"f2e0afa22f117f75","reportUrl":"https://waku-org.github.io/js-waku/7219//#testresult/f2e0afa22f117f75","status":"passed","time":{"start":1721910281795,"stop":1721910281796,"duration":1}},{"uid":"4b38c907f8d0c606","reportUrl":"https://waku-org.github.io/js-waku/7218//#testresult/4b38c907f8d0c606","status":"passed","time":{"start":1721909749262,"stop":1721909749263,"duration":1}},{"uid":"738e9ea3a4588416","reportUrl":"https://waku-org.github.io/js-waku/7217//#testresult/738e9ea3a4588416","status":"passed","time":{"start":1721900127237,"stop":1721900127238,"duration":1}},{"uid":"728b5b4a6993bdc7","reportUrl":"https://waku-org.github.io/js-waku/7216//#testresult/728b5b4a6993bdc7","status":"passed","time":{"start":1721899536882,"stop":1721899536883,"duration":1}},{"uid":"2892b33f6bbcdc9b","reportUrl":"https://waku-org.github.io/js-waku/7215//#testresult/2892b33f6bbcdc9b","status":"passed","time":{"start":1721899457207,"stop":1721899457207,"duration":0}},{"uid":"2694ea155c28ef85","reportUrl":"https://waku-org.github.io/js-waku/7214//#testresult/2694ea155c28ef85","status":"passed","time":{"start":1721898881631,"stop":1721898881632,"duration":1}},{"uid":"a56e0ef64a293f75","reportUrl":"https://waku-org.github.io/js-waku/7213//#testresult/a56e0ef64a293f75","status":"passed","time":{"start":1721898837694,"stop":1721898837694,"duration":0}},{"uid":"3a83c7af2319ce61","reportUrl":"https://waku-org.github.io/js-waku/7212//#testresult/3a83c7af2319ce61","status":"passed","time":{"start":1721898495508,"stop":1721898495508,"duration":0}},{"uid":"918b691b489f4b61","reportUrl":"https://waku-org.github.io/js-waku/7211//#testresult/918b691b489f4b61","status":"passed","time":{"start":1721897135893,"stop":1721897135893,"duration":0}},{"uid":"73c512f1d281cd9e","reportUrl":"https://waku-org.github.io/js-waku/7210//#testresult/73c512f1d281cd9e","status":"broken","statusDetails":"Property failed after 3 tests\n{ seed: 10685004, path: \"2: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:520: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:509:13)\n\nEncountered failures were:\n- [75,0]\n- [1,0]","time":{"start":1721860566258,"stop":1721860566258,"duration":0}},{"uid":"6cb6a82cb4e89e25","reportUrl":"https://waku-org.github.io/js-waku/7209//#testresult/6cb6a82cb4e89e25","status":"broken","statusDetails":"Property failed after 53 tests\n{ seed: -1516263014, path: \"52: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:520: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:509:13)\n\nEncountered failures were:\n- [97,0]\n- [1,0]","time":{"start":1721860434775,"stop":1721860434777,"duration":2}},{"uid":"794c7ff6dddc36c7","reportUrl":"https://waku-org.github.io/js-waku/7208//#testresult/794c7ff6dddc36c7","status":"passed","time":{"start":1721843461737,"stop":1721843461738,"duration":1}},{"uid":"836195305e450574","reportUrl":"https://waku-org.github.io/js-waku/7207//#testresult/836195305e450574","status":"passed","time":{"start":1721835288499,"stop":1721835288499,"duration":0}}]},"tags":[]},"source":"29dc30d89fbbc549.json","parameterValues":[]}