]
Galder Zamarreño updated HRJS-32:
---------------------------------
Attachment: server-trace-logs.tgz
Cluster iteration tests randomly failing
----------------------------------------
Key: HRJS-32
URL:
https://issues.jboss.org/browse/HRJS-32
Project: Infinispan Javascript client
Issue Type: Bug
Affects Versions: 0.3.0
Reporter: Galder Zamarreño
Attachments: server-trace-logs.tgz, tmp-tests.log
Example:
{code}
~/0/i/js-client ❯❯❯ rm -drf tmp-tests.log && node
node_modules/jasmine-node/lib/jasmine-node/cli.js spec/infinispan_cluster_spec.js
--captureExceptions t_domain ✭ ✱
....F.....
Failures:
1) Infinispan cluster client can iterate over entries in a cluster
Message:
Expected { done : true, key : 'cluster-it1', value : 'v1' } to equal
<jasmine.objectContaining({ key : 'cluster-it1', value : 'v1', done :
false })>.
Stacktrace:
Error: Expected { done : true, key : 'cluster-it1', value : 'v1' }
to equal <jasmine.objectContaining({ key : 'cluster-it1', value : 'v1',
done : false })>.
at /Users/g/0/infinispan/js-client/spec/utils/testing.js:274:43
at /Users/g/0/infinispan/js-client/spec/utils/testing.js:503:39
at Function._.map._.collect
(/Users/g/0/infinispan/js-client/node_modules/underscore/underscore.js:172:24)
at /Users/g/0/infinispan/js-client/spec/utils/testing.js:500:7
at /Users/g/0/infinispan/js-client/spec/utils/testing.js:493:42
at /Users/g/0/infinispan/js-client/spec/utils/testing.js:443:50
at tryCallOne
(/Users/g/0/infinispan/js-client/node_modules/promise/lib/core.js:37:12)
at /Users/g/0/infinispan/js-client/node_modules/promise/lib/core.js:103:15
2) Infinispan cluster client can iterate over entries in a cluster
Message:
Expected { done : true, key : 'cluster-it1', value : 'v1' } to equal
<jasmine.objectContaining({ key : 'cluster-it2', value : 'v2', done :
false })>.
Stacktrace:
Error: Expected { done : true, key : 'cluster-it1', value : 'v1' }
to equal <jasmine.objectContaining({ key : 'cluster-it2', value : 'v2',
done : false })>.
at /Users/g/0/infinispan/js-client/spec/utils/testing.js:274:43
at /Users/g/0/infinispan/js-client/spec/utils/testing.js:503:39
at Function._.map._.collect
(/Users/g/0/infinispan/js-client/node_modules/underscore/underscore.js:172:24)
at /Users/g/0/infinispan/js-client/spec/utils/testing.js:500:7
at /Users/g/0/infinispan/js-client/spec/utils/testing.js:493:42
at /Users/g/0/infinispan/js-client/spec/utils/testing.js:443:50
at tryCallOne
(/Users/g/0/infinispan/js-client/node_modules/promise/lib/core.js:37:12)
at /Users/g/0/infinispan/js-client/node_modules/promise/lib/core.js:103:15
3) Infinispan cluster client can iterate over entries in a cluster
Message:
Expected { done : true } to equal <jasmine.objectContaining({ key :
'cluster-it3', value : 'v3', done : false })>.
Stacktrace:
Error: Expected { done : true } to equal <jasmine.objectContaining({ key :
'cluster-it3', value : 'v3', done : false })>.
at /Users/g/0/infinispan/js-client/spec/utils/testing.js:274:43
at /Users/g/0/infinispan/js-client/spec/utils/testing.js:503:39
at Function._.map._.collect
(/Users/g/0/infinispan/js-client/node_modules/underscore/underscore.js:172:24)
at /Users/g/0/infinispan/js-client/spec/utils/testing.js:500:7
at /Users/g/0/infinispan/js-client/spec/utils/testing.js:493:42
at /Users/g/0/infinispan/js-client/spec/utils/testing.js:443:50
at tryCallOne
(/Users/g/0/infinispan/js-client/node_modules/promise/lib/core.js:37:12)
at /Users/g/0/infinispan/js-client/node_modules/promise/lib/core.js:103:15
Finished in 2.934 seconds
10 tests, 38 assertions, 3 failures, 0 skipped
{code}
Attached are client TRACE logs and server side TRACE logs.