2024-07-24 22:44:03 +00:00

1 line
5.4 KiB
JSON

{"uid":"6cb6a82cb4e89e25","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":1721860434775,"stop":1721860434777,"duration":2},"status":"broken","statusMessage":"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]","statusTrace":"Error: 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]\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":1,"skipped":0,"passed":2,"unknown":0,"total":3},"items":[{"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":"6cb6a82cb4e89e25.json","parameterValues":[]}