Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1442516
Summary: | Review Request: nodejs-cache-base - Basic object cache with get, set, del, and has methods | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jared Smith <jsmith.fedora> |
Component: | Package Review | Assignee: | Robert-André Mauchin 🐧 <zebob.m> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | package-review, zebob.m |
Target Milestone: | --- | Flags: | zebob.m:
fedora-review+
|
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-09-25 20:32:38 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1442505, 1442507, 1442513, 1442514 | ||
Bug Blocks: | 956806, 1387531, 1442526 |
Description
Jared Smith
2017-04-15 01:53:31 UTC
A lot of tests fail: 26 passing (43ms) 18 failing 1) cache-base constructor: should set : AssertionError: undefined == 1 at Context.<anonymous> (test/test.js:32:14) 2) cache-base get/set: set() - add: should set a new property with the given value: AssertionError: undefined == 1 at Context.<anonymous> (test/test.js:50:16) 3) cache-base get/set: set() - update: should update an existing property with the given value: AssertionError: undefined == 2 at Context.<anonymous> (test/test.js:57:16) 4) cache-base get/set: set() - update: should get the given property: AssertionError: undefined == 'b' at Context.<anonymous> (test/test.js:62:16) 5) cache-base .union() should union a string value: TypeError: union-value expects the first argument to be an object. at unionValue (/usr/lib/node_modules/union-value/index.js:10:11) at Cache.union (index.js:119:5) at Context.<anonymous> (test/test.js:69:11) 6) cache-base .union() should union multiple string values: TypeError: union-value expects the first argument to be an object. at unionValue (/usr/lib/node_modules/union-value/index.js:10:11) at Cache.union (index.js:119:5) at Context.<anonymous> (test/test.js:74:11) 7) cache-base .union() should union multiple arrays: TypeError: union-value expects the first argument to be an object. at unionValue (/usr/lib/node_modules/union-value/index.js:10:11) at Cache.union (index.js:119:5) at Context.<anonymous> (test/test.js:81:11) 8) cache-base .union() should union nested string values: TypeError: union-value expects the first argument to be an object. at unionValue (/usr/lib/node_modules/union-value/index.js:10:11) at Cache.union (index.js:119:5) at Context.<anonymous> (test/test.js:88:11) 9) cache-base .union() should union and uniquify arrays: TypeError: union-value expects the first argument to be an object. at unionValue (/usr/lib/node_modules/union-value/index.js:10:11) at Cache.union (index.js:119:5) at Context.<anonymous> (test/test.js:95:11) 10) cache-base .set() should set a value: AssertionError: undefined == 'b' at Context.<anonymous> (test/test.js:105:14) 11) cache-base .set() should set properties on the `cache` object.: AssertionError: undefined == 'b' at Context.<anonymous> (test/test.js:110:14) 12) cache-base .set() should allow an object to be set directly.: AssertionError: undefined == 'y' at Context.<anonymous> (test/test.js:115:14) 13) cache-base .set() should set nested properties on the `cache` object.: TypeError: Cannot read property 'd' of undefined at Context.<anonymous> (test/test.js:121:32) 14) cache-base .set() should return `this` for chaining: AssertionError: undefined == 'bb' at Context.<anonymous> (test/test.js:130:14) 15) cache-base .get() should get a value: AssertionError: undefined == 'b' at Context.<anonymous> (test/test.js:147:14) 16) cache-base .get() should get a nested property value: TypeError: Cannot read property 'b' of undefined at Context.<anonymous> (test/test.js:152:25) 17) events get should emit the value with "get" events: AssertionError: undefined == 'b' at Cache.<anonymous> (test/test.js:208:16) at Cache.Emitter.emit (/usr/lib/node_modules/component-emitter/index.js:134:20) at Cache.get (index.js:150:10) at Context.<anonymous> (test/test.js:212:11) 18) events has should emit the value with "has" events: AssertionError: false == true + expected - actual +true -false at Cache.<anonymous> (test/test.js:235:16) at Cache.Emitter.emit (/usr/lib/node_modules/component-emitter/index.js:134:20) at Cache.has (index.js:178:10) at Context.<anonymous> (test/test.js:239:11) Spec URL: https://jsmith.fedorapeople.org/Packaging/nodejs-cache-base/nodejs-cache-base.spec SRPM URL: https://jsmith.fedorapeople.org/Packaging/nodejs-cache-base/nodejs-cache-base-1.0.0-2.fc28.src.rpm I'm still not sure why you were seeing test failures -- it's working fine for me both locally and in mock and in this scratch-build: https://koji.fedoraproject.org/koji/taskinfo?taskID=22022468 I think I had inçompatibilities between all the nodejs packages installed in my mock chroot. Package accepted. 'Requested package in ticket https://pagure.io/releng/fedora-scm-requests/issue/1565' (fedrepo-req-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/nodejs-cache-base In rawhide, closing bug |